New joints for ASMT and MBDyn
GearJoint, RackPinion, Screw, Planar and MBDynCase3orig.mbd MBDyn Sperical Hinge
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user