Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 03:21:51 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Bug in OpenMaLi
Pages: [1]
Print
Author Topic: Bug in OpenMaLi  (Read 359 times)
lonesomeStranger
Becoming dependent
**
Offline Offline

Posts: 111

197432680
View Profile
« on: 30. September 2010, 08:35:45 am »

Hi Marvin,

I found a bug in openmali.

In org.openmali.vecmath2.util.MatrixUtils.matrixToEuler( Matrix3f matrix, Tuple3f euler ) and
org.openmali.vecmath2.util.MatrixUtils.matrixToEuler( Matrix4f matrix, Tuple3f euler ) should be:

Code:
else
        {
            ...
            euler.setZ( FastMath.asin( matrix.m10() ) );
        }

Now the code contains wrong minus sign -matrix.m10() making angles around Z negated.

I have no dev access to openmali so can't fix it.
« Last Edit: 01. October 2010, 10:00:07 am by lonesomeStranger » Logged

Anton
lonesomeStranger
Becoming dependent
**
Offline Offline

Posts: 111

197432680
View Profile
« Reply #1 on: 05. October 2010, 09:54:23 am »

fixed.
Logged

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

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 05. October 2010, 12:49:31 pm »

Thanks.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic