Vector3d.TransformNormal Method

Definition

Overloads

TransformNormal(Vector3d, Matrix4d)
TransformNormal(Vector3d, Matrix4d, Vector3d)

Transform a Normal by the given Matrix

TransformNormal(Vector3d, Matrix4d)

public static OpenTK.Vector3d TransformNormal (OpenTK.Vector3d norm, OpenTK.Matrix4d mat);
static member TransformNormal : OpenTK.Vector3d * OpenTK.Matrix4d -> OpenTK.Vector3d

Parameters

norm
Vector3d
mat
Matrix4d

Returns

Applies to

TransformNormal(Vector3d, Matrix4d, Vector3d)

Transform a Normal by the given Matrix

public static void TransformNormal (ref OpenTK.Vector3d norm, ref OpenTK.Matrix4d mat, out OpenTK.Vector3d result);
static member TransformNormal :  *  *  -> unit

Parameters

norm
Vector3d

The normal to transform

mat
Matrix4d

The desired transformation

result
Vector3d

The transformed normal

Remarks

This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation

Applies to