VRageMath.Vector2.TransformNormal - bimbam2103/space_engineers GitHub Wiki
← 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