New joints for ASMT and MBDyn

GearJoint, RackPinion, Screw, Planar and MBDynCase3orig.mbd
MBDyn Sperical Hinge
This commit is contained in:
Aik-Siong Koh
2023-11-15 22:03:31 -07:00
parent 810c8d2f0e
commit e0241dd6d2
242 changed files with 44337 additions and 2618 deletions

View File

@@ -5,7 +5,7 @@
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#include <cmath>
#include "corecrt_math_defines.h"
#include <stdexcept>
@@ -32,7 +32,7 @@ double MbD::Numeric::arcTan0to2piYoverX(double y, double x)
else {
if (x < 0.0) {
//"Second and Third quadrants."
return OS_M_PI + std::atan2(y, x);
return OS_M_PI + std::atan2(y, x);
}
else {
//"x = 0"