www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: claydergc on December 02, 2011, 07:25:40 am

Title: Y axis orientation
Post by: claydergc on December 02, 2011, 07:25:40 am
I was playing with HelloWorld-AE example that is included with the library and I noticed that positive Y axis goes down and negative Y axis goes up. Is there some method which can invert this?. I mean, I want positive Y axis goes up and negative Y axis goes down.

Thanks for your answer.
Title: Re: Y axis orientation
Post by: EgonOlsen on December 02, 2011, 07:53:47 am
No, that's the way it is: http://www.jpct.net/wiki/index.php/Coordinate_system (http://www.jpct.net/wiki/index.php/Coordinate_system)

The reason is mainly a historical with the desktop version and the software renderer and that i wanted to make positive z go into the screen. After all, it really doesn't matter...it's all just about numbers. There are many coordinate systems where z goes up and y to the right and whatever and one can work with that too.
Title: Re: Y axis orientation
Post by: claydergc on December 02, 2011, 03:36:18 pm
Ok, thanks  :)