Getting triangle's 3d coordinate after rotation..
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?
Re: Getting triangle's 3d coordinate after rotation..
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.