Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 03:36:13 am
Xith3D CommunityXith3D InternalsDeveloper discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)Collada Transform Rotation
Pages: [1]
Print
Author Topic: Collada Transform Rotation  (Read 964 times)
qbproger
developers
Becoming dependent
***
Offline Offline

Posts: 217


View Profile
« on: 22. April 2008, 05:36:00 pm »

The Collada spec specifies that angles are in degrees.  FastMath is expecting Radians.

In org.jagatoo.loaders.models.collada.jibx.XMLNode.java, the applyRotation() function should first convert the angle to radians.

There is a function FastMath.toRad that does the job nicely.
Logged

Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 22. April 2008, 05:45:33 pm »

Thanks. I have fixed that. I will commit a new JAGaToo jar when I am ready with the new InputSystem. Unfortunately I don't have much time this week. So it might get next week. If you need it right now, just get JAGaToo from SVN.

Marvin
Logged
qbproger
developers
Becoming dependent
***
Offline Offline

Posts: 217


View Profile
« Reply #2 on: 23. April 2008, 01:36:46 pm »

I'm working out of SVN.

Thanks
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic