Matrix.TransformNormal

Vec3 TransformNormal(Vec3 normal)

Transforms a point through the Matrix, but excluding translation! This is great for transforming vectors that are -directions- rather than points in space. Use this to transform normals and directions. The same as multiplying (x,y,z,0) with the Matrix.

   
Vec3 normal The direction to transform.
RETURNS: Vec3 The direction transformed by the Matrix.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!