Vector3d.TransformNormal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TransformNormal(Vector3d, Matrix4d) | |
TransformNormal(Vector3d, Matrix4d, Vector3d) |
Transform a Normal by the given Matrix |
TransformNormal(Vector3d, Matrix4d)
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