Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Emmanuel

#1
Bugs / Re: Matrix.rotateX rotates clockwise
July 08, 2013, 03:00:24 PM
Ok thanks a lot.
You might want to know there is a mathematical convention. ANYWAY
If everybody likes it that way its great
Love the engine, just wanted to help.
Thanks again
#2
Bugs / Re: Matrix.rotateX rotates clockwise
July 08, 2013, 12:31:46 PM
Yes I am looking at the origin from a positive X value because rotation axis is positive X
#3
Bugs / Re: Matrix.rotateX rotates clockwise
July 08, 2013, 11:14:19 AM
I have to disagree going from (0 1 0 0) to (0 0 -1 0) is clockwise. (I am "looking" from positive X)
#4
Bugs / Re: Matrix.rotateX rotates clockwise
July 01, 2013, 11:12:37 AM
Thanks for the quick response.

BTW, I believe rotateY and rotateZ also have the same problem.
#5
Bugs / Matrix.rotateX rotates clockwise
June 30, 2013, 10:10:22 PM
Hello,

Thanks for your work. I think I might have encountered a misleading method description. Indeed the doc says rotateX creates a counter-clockwise rotation for positive angles but it appears to create a clockwise rotation matrix.

How you can test:

Matrix mat = new Matrix();
mat.rotateX((float)Math.PI/2);
Logger.Log(mat.ToString());


You get the matrix:
1  0  0  0
0  0  -1 0
0  1  0  0
0  0  0  1
Which sends (0  1  0  0) to (0  0  -1  0). (I'm assuming row vectors)
Which corresponds to clockwise