Difference between revisions of "Coordinate system"

From JPCT
Jump to: navigation, search
(jPCT's coordinate system)
(jPCT's coordinate system)
Line 5: Line 5:
  
 
[[File:Coordsystem.png‎]]
 
[[File:Coordsystem.png‎]]
 +
 +
[[Category:jPCT]]
 +
[[Category:jPCT-AE]]

Revision as of 23:27, 1 February 2013

jPCT's coordinate system

A few words on jPCT's coordinate system, because it causes some confusion from time to time. In "normal" GL-like coordinate system, positive x goes to the right, y goes up and z comes out of the screen. In jPCT, this is rotated 180° around x, so that x still goes to the right, but positive z goes INTO the screen and positive y goes DOWN. If you want/have to use third party code that uses a different system, some conversion is needed, which should be pretty simple to do.

Coordsystem.png