Exemplo n.º 1
0
        public static void TransformNormal(ref SCNVector3 norm, ref SCNMatrix4 mat, out SCNVector3 result)
        {
            SCNMatrix4 Inverse = SCNMatrix4.Invert(mat);

            SCNVector3.TransformNormalInverse(ref norm, ref Inverse, out result);
        }
Exemplo n.º 2
0
 public static SCNVector3 TransformNormal(SCNVector3 norm, SCNMatrix4 mat)
 {
     mat.Invert();
     return(TransformNormalInverse(norm, mat));
 }