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.Vector2.TransformNormal
Morten Aune Lyrstad edited this page Apr 16, 2022
·
22 revisions
← Index ← Namespace Index ← Vector2
public static Vector2 TransformNormal(Vector2 normal, Matrix matrix)
Transforms a 2D vector normal by a matrix.
public static void TransformNormal(ref Vector2 normal, ref Matrix matrix, out Vector2 result)
Transforms a vector normal by a matrix.
public static void TransformNormal(Vector2[] sourceArray, ref Matrix matrix, Vector2[] destinationArray)
Transforms an array of Vector2 vector normals by a specified Matrix.
- Vector2[] sourceArray
- Matrix matrix
- Vector2[] destinationArray
public static void TransformNormal(Vector2[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2[] destinationArray, int destinationIndex, int length)
Transforms a specified range in an array of Vector2 vector normals by a specified Matrix and places the results in a specified range in a destination array.
- Vector2[] sourceArray
- int sourceIndex
- Matrix matrix
- Vector2[] 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!