View Full Version : Getting triangle's 3d coordinate after rotation..

02-23-2011, 03:57 AM

I've got two triangles whose coordinates are known to me before I do a series of rotations and translations.

I need to find the distance between these two triangles and I'm curious as to whether OpenGL provides an easy way to do that.

If not, is there a good tutorial where I can refresh my memory on how to do 3D rotation in matrix math?


02-23-2011, 03:23 PM
By the way, I'm using one series of rotations & translations for one triangle, and another set of rotations & translations for the other.

But I need the distance between the two AFTER they're rotated & translated.

Thanks for any help.