Modifier

Partager via


Vector3.TransformNormalInverse Method

Definition

Overloads

TransformNormalInverse(Vector3, Matrix4)
TransformNormalInverse(Vector3, Matrix4, Vector3)

Transform a Normal by the (transpose of the) given Matrix

TransformNormalInverse(Vector3, Matrix4)

public static OpenTK.Vector3 TransformNormalInverse (OpenTK.Vector3 norm, OpenTK.Matrix4 invMat);
static member TransformNormalInverse : OpenTK.Vector3 * OpenTK.Matrix4 -> OpenTK.Vector3

Parameters

norm
Vector3
invMat
Matrix4

Returns

Applies to

TransformNormalInverse(Vector3, Matrix4, Vector3)

Transform a Normal by the (transpose of the) given Matrix

public static void TransformNormalInverse (ref OpenTK.Vector3 norm, ref OpenTK.Matrix4 invMat, out OpenTK.Vector3 result);
static member TransformNormalInverse :  *  *  -> unit

Parameters

norm
Vector3

The normal to transform

invMat
Matrix4

The inverse of the desired transformation

result
Vector3

The transformed normal

Remarks

This version doesn't calculate the inverse matrix. Use this version if you already have the inverse of the desired transform to hand

Applies to