This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector3.TransformNormal
Morten Aune Lyrstad edited this page Apr 16, 2022
·
22 revisions
← Index ← Namespace Index ← Vector3
public static Vector3 TransformNormal(Vector3 normal, Matrix matrix)
Transforms a 3D vector normal by a matrix.
public static Vector3 TransformNormal(Vector3 normal, MatrixD matrix)
Transforms a 3D vector normal by a matrix.
public static Vector3 TransformNormal(Vector3D normal, Matrix matrix)
Transforms a 3D vector normal by a matrix.
public static void TransformNormal(ref Vector3 normal, ref Matrix matrix, out Vector3 result)
Transforms a vector normal by a matrix.
public static void TransformNormal(ref Vector3 normal, ref MatrixD matrix, out Vector3 result)
public static void TransformNormal(ref Vector3 normal, ref MatrixI matrix, out Vector3 result)
public static Vector3 TransformNormal(Vector3 normal, MyBlockOrientation orientation)
- Vector3 normal
- MyBlockOrientation orientation
public static void TransformNormal(ref Vector3 normal, MyBlockOrientation orientation, out Vector3 result)
- Vector3 normal
- MyBlockOrientation orientation
- Vector3 result
public static Vector3 TransformNormal(Vector3 normal, ref Matrix matrix)
public static void TransformNormal(Vector3[] sourceArray, ref Matrix matrix, Vector3[] destinationArray)
Transforms an array of 3D vector normals by a specified Matrix.
- Vector3[] sourceArray
- Matrix matrix
- Vector3[] destinationArray
public static void TransformNormal(Vector3[] sourceArray, int sourceIndex, ref Matrix matrix, Vector3[] destinationArray, int destinationIndex, int length)
Transforms a specified range in an array of 3D vector normals by a specified Matrix and writes the results to a specified range in a destination array.
- Vector3[] sourceArray
- int sourceIndex
- Matrix matrix
- Vector3[] destinationArray
- int destinationIndex
- int length
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!