Newton tutorial not working (private datamember)
Posted: Fri Aug 24, 2007 9:25 pm
I can't compile the code written in the following link:
http://walaber.com/newton_wiki/index.ph ... wton_start
The error I get is that the core::matrix4 mat is private:
I tryed the following code, no error, but the physics don't work (no movement), the planet should rotate.
Thanks by advance.
http://walaber.com/newton_wiki/index.ph ... wton_start
The error I get is that the core::matrix4 mat is private:
Code: Select all
NewtonGetEulerAngle ( &mat.M[0], &euler.X );
Code: Select all
NewtonGetEulerAngle ( &mat.getTransposed() [0], &euler.X );