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); }
public static SCNVector3 TransformNormal(SCNVector3 norm, SCNMatrix4 mat) { mat.Invert(); return(TransformNormalInverse(norm, mat)); }