Forums
getInertia - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: getInertia (/showthread.php?tid=1243)



getInertia - sebiastisch - 02-11-2010

Hallo ,

I think

Code:
    const T GetInertia() {return rotation.GetInertia();}
in rigidbody.h
should be
Code:
    const MATRIX3 <T> GetInertia() {return rotation.GetInertia();}

BTW: How can I get a developer account, to fix little issues like this by myself?

Regards,
Sebastian


- joevenzon - 02-11-2010

Huh, how does this even compile the way it is currently?


- joevenzon - 02-11-2010

Ah, nevermind, it compiles because it never gets called. I'll fix it in SVN.