Refactored OsgHinge and OsgHingeLimit so I could move osg code out of Vx library
Merge branch 'master' of https://github.com/NeuroRoboticTech/AnimatLabPublicSource
Got rid of some unnecessary debug lines
Fixed a bug where Std_ToBool was not converted correctly when I switched from BOOL to bool.
I have the tests working again except 1 or 2. I am also using the OsgMatrixUtil class instead of the VsMatrixUtil.
Got the osg primsatic classes converted over. Need to hook them up to the vs classes now.
I hooked the graphics for the hinge up. It appears to be correct so far, but I found a bug where rotating the joint using the mouse does not work correctly. Moving it with the mouse is fine, but not rotation.
I have a unit test that is failing when comparing the EulerRotationFromMatrix results from OsgMatrixUtil and VsMatrixUtil. Now I need to figure out why and how to fix it.
Fixed the VortexAnimatSim solution generation. It was named wrong.
I believe I fixed the Matrix to Euler angle problem. I found some code online that showed how to decompose a matrix into euler angles in the XYZ sequence. It works as long as you do not have a Y rotation greater than |PI/2|. If you do then the result you get is not the same as the vortex methods give you, but according to the math it is the correct results. I am not sure what the vortex code is actually doing in that situation because it does not appear correct according to the equations.