mardi 22 décembre 2015

AS3: Normal vector of a shape rotated in 3D space

I have a display object that has been rotated in 3D space. How can I calculate a normal vector for that object for the purpose of backface culling? I am not using Stage3D.

Aucun commentaire:

Enregistrer un commentaire