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