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.


Messages - Emmanuel

Pages: [1]
1
Bugs / Re: Matrix.rotateX rotates clockwise
« on: 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
« on: 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
« on: 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
« on: 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
« on: 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:
Code: [Select]
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

Pages: [1]