PDA

View Full Version : How to get vertex's coordinates.



UnIcron
02-22-2003, 12:08 AM
Is there any method to get a vertex's coordinate in world coordinate system after rotation?

mikael_aronsson
02-22-2003, 01:36 AM
OpenGL can't do it for you (unless you mess around with feedback), you need to get the transformation matrix and multiply your vertex with it, almost any matrix class can do it for you, shouldn't be hard to find code example on google.

Mikael