-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector2D.Transform
public public sealed struct Vector2D Transform(public sealed struct Vector2D position, public sealed struct Matrix matrix)Transforms the vector (x, y, 0, 1) by the specified matrix.
public void Transform(ref public sealed struct Vector2D position, ref public sealed struct Matrix matrix, ref public sealed struct Vector2D result)Transforms a Vector2D by the given Matrix.
public public sealed struct Vector2D Transform(public sealed struct Vector2D value, public sealed struct Quaternion rotation)Transforms a single Vector2D, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
public void Transform(ref public sealed struct Vector2D value, ref public sealed struct Quaternion rotation, ref public sealed struct Vector2D result)Transforms a Vector2D, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.
public void Transform(public sealed class Vector2D[] sourceArray, ref public sealed struct Matrix matrix, public sealed class Vector2D[] destinationArray)Transforms an array of Vector2s by a specified Matrix.
public void Transform(public sealed class Vector2D[] sourceArray, int sourceIndex, ref public sealed struct Matrix matrix, public sealed class Vector2D[] destinationArray, int destinationIndex, int length)Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array.
public void Transform(public sealed class Vector2D[] sourceArray, ref public sealed struct Quaternion rotation, public sealed class Vector2D[] destinationArray)Transforms an array of Vector2s by a specified Quaternion.
public void Transform(public sealed class Vector2D[] sourceArray, int sourceIndex, ref public sealed struct Quaternion rotation, public sealed class Vector2D[] destinationArray, int destinationIndex, int length)Transforms a specified range in an array of Vector2s by a specified Quaternion and places the results in a specified range in a destination array.
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!