Represents a 2D vector using two single-precision floating-point numbers. More...
Public Member Functions | |
| Vector2 (float x, float y) | |
| Constructs a new Vector2. | |
| Vector2 (Vector2 v) | |
| Constructs a new Vector2 from the given Vector2. | |
| Vector2 (Vector3 v) | |
| Constructs a new Vector2 from the given Vector3. | |
| Vector2 (Vector4 v) | |
| Constructs a new Vector2 from the given Vector4. | |
| void | Add (Vector2 right) |
| Add the Vector passed as parameter to this instance. | |
| void | Add (ref Vector2 right) |
| Add the Vector passed as parameter to this instance. | |
| void | Sub (Vector2 right) |
| Subtract the Vector passed as parameter from this instance. | |
| void | Sub (ref Vector2 right) |
| Subtract the Vector passed as parameter from this instance. | |
| void | Mult (float f) |
| Multiply this instance by a scalar. | |
| void | Div (float f) |
| Divide this instance by a scalar. | |
| void | Normalize () |
| Scales the Vector2 to unit length. | |
| void | NormalizeFast () |
| Scales the Vector2 to approximately unit length. | |
| void | Scale (float sx, float sy) |
| Scales the current Vector2 by the given amounts. | |
| void | Scale (Vector2 scale) |
| Scales this instance by the given parameter. | |
| void | Scale (ref Vector2 scale) |
| Scales this instance by the given parameter. | |
| override string | ToString () |
| Returns a System.String that represents the current Vector2. | |
| override int | GetHashCode () |
| Returns the hashcode for this instance. | |
| override bool | Equals (object obj) |
| Indicates whether this instance and a specified object are equal. | |
| bool | Equals (Vector2 other) |
| Indicates whether the current vector is equal to another vector. | |
Static Public Member Functions | |
| static Vector2 | Sub (Vector2 a, Vector2 b) |
| Subtract one Vector from another. | |
| static void | Sub (ref Vector2 a, ref Vector2 b, out Vector2 result) |
| Subtract one Vector from another. | |
| static Vector2 | Mult (Vector2 a, float f) |
| Multiply a vector and a scalar. | |
| static void | Mult (ref Vector2 a, float f, out Vector2 result) |
| Multiply a vector and a scalar. | |
| static Vector2 | Div (Vector2 a, float f) |
| Divide a vector by a scalar. | |
| static void | Div (ref Vector2 a, float f, out Vector2 result) |
| Divide a vector by a scalar. | |
| static Vector2 | Add (Vector2 a, Vector2 b) |
| Adds two vectors. | |
| static void | Add (ref Vector2 a, ref Vector2 b, out Vector2 result) |
| Adds two vectors. | |
| static Vector2 | Subtract (Vector2 a, Vector2 b) |
| Subtract one Vector from another. | |
| static void | Subtract (ref Vector2 a, ref Vector2 b, out Vector2 result) |
| Subtract one Vector from another. | |
| static Vector2 | Multiply (Vector2 vector, float scale) |
| Multiplies a vector by a scalar. | |
| static void | Multiply (ref Vector2 vector, float scale, out Vector2 result) |
| Multiplies a vector by a scalar. | |
| static Vector2 | Multiply (Vector2 vector, Vector2 scale) |
| Multiplies a vector by the components a vector (scale). | |
| static void | Multiply (ref Vector2 vector, ref Vector2 scale, out Vector2 result) |
| Multiplies a vector by the components of a vector (scale). | |
| static Vector2 | Divide (Vector2 vector, float scale) |
| Divides a vector by a scalar. | |
| static void | Divide (ref Vector2 vector, float scale, out Vector2 result) |
| Divides a vector by a scalar. | |
| static Vector2 | Divide (Vector2 vector, Vector2 scale) |
| Divides a vector by the components of a vector (scale). | |
| static void | Divide (ref Vector2 vector, ref Vector2 scale, out Vector2 result) |
| Divide a vector by the components of a vector (scale). | |
| static Vector2 | ComponentMin (Vector2 a, Vector2 b) |
| Calculate the component-wise minimum of two vectors. | |
| static void | ComponentMin (ref Vector2 a, ref Vector2 b, out Vector2 result) |
| Calculate the component-wise minimum of two vectors. | |
| static Vector2 | ComponentMax (Vector2 a, Vector2 b) |
| Calculate the component-wise maximum of two vectors. | |
| static void | ComponentMax (ref Vector2 a, ref Vector2 b, out Vector2 result) |
| Calculate the component-wise maximum of two vectors. | |
| static Vector2 | Min (Vector2 left, Vector2 right) |
| Returns the Vector3 with the minimum magnitude. | |
| static Vector2 | Max (Vector2 left, Vector2 right) |
| Returns the Vector3 with the minimum magnitude. | |
| static Vector2 | Clamp (Vector2 vec, Vector2 min, Vector2 max) |
| Clamp a vector to the given minimum and maximum vectors. | |
| static void | Clamp (ref Vector2 vec, ref Vector2 min, ref Vector2 max, out Vector2 result) |
| Clamp a vector to the given minimum and maximum vectors. | |
| static Vector2 | Normalize (Vector2 vec) |
| Scale a vector to unit length. | |
| static void | Normalize (ref Vector2 vec, out Vector2 result) |
| Scale a vector to unit length. | |
| static Vector2 | NormalizeFast (Vector2 vec) |
| Scale a vector to approximately unit length. | |
| static void | NormalizeFast (ref Vector2 vec, out Vector2 result) |
| Scale a vector to approximately unit length. | |
| static float | Dot (Vector2 left, Vector2 right) |
| Calculate the dot (scalar) product of two vectors. | |
| static void | Dot (ref Vector2 left, ref Vector2 right, out float result) |
| Calculate the dot (scalar) product of two vectors. | |
| static Vector2 | Lerp (Vector2 a, Vector2 b, float blend) |
| Returns a new Vector that is the linear blend of the 2 given Vectors. | |
| static void | Lerp (ref Vector2 a, ref Vector2 b, float blend, out Vector2 result) |
| Returns a new Vector that is the linear blend of the 2 given Vectors. | |
| static Vector2 | BaryCentric (Vector2 a, Vector2 b, Vector2 c, float u, float v) |
| Interpolate 3 Vectors using Barycentric coordinates. | |
| static void | BaryCentric (ref Vector2 a, ref Vector2 b, ref Vector2 c, float u, float v, out Vector2 result) |
| Interpolate 3 Vectors using Barycentric coordinates. | |
| static Vector2 | Transform (Vector2 vec, Quaternion quat) |
| Transforms a vector by a quaternion rotation. | |
| static void | Transform (ref Vector2 vec, ref Quaternion quat, out Vector2 result) |
| Transforms a vector by a quaternion rotation. | |
| static Vector2 | operator+ (Vector2 left, Vector2 right) |
| Adds the specified instances. | |
| static Vector2 | operator- (Vector2 left, Vector2 right) |
| Subtracts the specified instances. | |
| static Vector2 | operator- (Vector2 vec) |
| Negates the specified instance. | |
| static Vector2 | operator* (Vector2 vec, float scale) |
| Multiplies the specified instance by a scalar. | |
| static Vector2 | operator* (float scale, Vector2 vec) |
| Multiplies the specified instance by a scalar. | |
| static Vector2 | operator/ (Vector2 vec, float scale) |
| Divides the specified instance by a scalar. | |
| static bool | operator== (Vector2 left, Vector2 right) |
| Compares the specified instances for equality. | |
| static bool | operator!= (Vector2 left, Vector2 right) |
| Compares the specified instances for inequality. | |
Public Attributes | |
| float | X |
| The X component of the Vector2. | |
| float | Y |
| The Y component of the Vector2. | |
Static Public Attributes | |
| static readonly Vector2 | UnitX = new Vector2(1, 0) |
| Defines a unit-length Vector2 that points towards the X-axis. | |
| static readonly Vector2 | UnitY = new Vector2(0, 1) |
| Defines a unit-length Vector2 that points towards the Y-axis. | |
| static readonly Vector2 | Zero = new Vector2(0, 0) |
| Defines a zero-length Vector2. | |
| static readonly Vector2 | One = new Vector2(1, 1) |
| Defines an instance with all components set to 1. | |
| static readonly int | SizeInBytes = Marshal.SizeOf(new Vector2()) |
| Defines the size of the Vector2 struct in bytes. | |
Properties | |
| float | Length [get] |
| Gets the length (magnitude) of the vector. | |
| float | LengthFast [get] |
| Gets an approximation of the vector length (magnitude). | |
| float | LengthSquared [get] |
| Gets the square of the vector length (magnitude). | |
| Vector2 | PerpendicularRight [get] |
| Gets the perpendicular vector on the right side of this vector. | |
| Vector2 | PerpendicularLeft [get] |
| Gets the perpendicular vector on the left side of this vector. | |
Represents a 2D vector using two single-precision floating-point numbers.
The Vector2 structure is suitable for interoperation with unmanaged code requiring two consecutive floats.
Definition at line 35 of file Vector2.cs.
| OpenTK.Vector2.Vector2 | ( | float | x, | |
| float | y | |||
| ) |
| OpenTK.Vector2.Vector2 | ( | Vector2 | v | ) |
| OpenTK.Vector2.Vector2 | ( | Vector3 | v | ) |
| OpenTK.Vector2.Vector2 | ( | Vector4 | v | ) |
Adds two vectors.
| a | Left operand. | |
| b | Right operand. | |
| result | Result of operation. |
Definition at line 480 of file Vector2.cs.
00481 { 00482 result = new Vector2(a.X + b.X, a.Y + b.Y); 00483 }
Adds two vectors.
| a | Left operand. | |
| b | Right operand. |
Definition at line 468 of file Vector2.cs.
00469 { 00470 Add(ref a, ref b, out a); 00471 return a; 00472 }
| void OpenTK.Vector2.Add | ( | ref Vector2 | right | ) |
Add the Vector passed as parameter to this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 118 of file Vector2.cs.
| void OpenTK.Vector2.Add | ( | Vector2 | right | ) |
Add the Vector passed as parameter to this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 108 of file Vector2.cs.
| static void OpenTK.Vector2.BaryCentric | ( | ref Vector2 | a, | |
| ref Vector2 | b, | |||
| ref Vector2 | c, | |||
| float | u, | |||
| float | v, | |||
| out Vector2 | result | |||
| ) | [static] |
Interpolate 3 Vectors using Barycentric coordinates.
| a | First input Vector. | |
| b | Second input Vector. | |
| c | Third input Vector. | |
| u | First Barycentric Coordinate. | |
| v | Second Barycentric Coordinate. | |
| result | Output Vector. a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise |
Definition at line 871 of file Vector2.cs.
00872 { 00873 result = a; // copy 00874 00875 Vector2 temp = b; // copy 00876 Subtract(ref temp, ref a, out temp); 00877 Multiply(ref temp, u, out temp); 00878 Add(ref result, ref temp, out result); 00879 00880 temp = c; // copy 00881 Subtract(ref temp, ref a, out temp); 00882 Multiply(ref temp, v, out temp); 00883 Add(ref result, ref temp, out result); 00884 }
| static Vector2 OpenTK.Vector2.BaryCentric | ( | Vector2 | a, | |
| Vector2 | b, | |||
| Vector2 | c, | |||
| float | u, | |||
| float | v | |||
| ) | [static] |
Interpolate 3 Vectors using Barycentric coordinates.
| a | First input Vector | |
| b | Second input Vector | |
| c | Third input Vector | |
| u | First Barycentric Coordinate | |
| v | Second Barycentric Coordinate |
Definition at line 859 of file Vector2.cs.
| static void OpenTK.Vector2.Clamp | ( | ref Vector2 | vec, | |
| ref Vector2 | min, | |||
| ref Vector2 | max, | |||
| out Vector2 | result | |||
| ) | [static] |
Clamp a vector to the given minimum and maximum vectors.
| vec | Input vector | |
| min | Minimum vector | |
| max | Maximum vector | |
| result | The clamped vector |
Definition at line 725 of file Vector2.cs.
Clamp a vector to the given minimum and maximum vectors.
| vec | Input vector | |
| min | Minimum vector | |
| max | Maximum vector |
Definition at line 711 of file Vector2.cs.
| static void OpenTK.Vector2.ComponentMax | ( | ref Vector2 | a, | |
| ref Vector2 | b, | |||
| out Vector2 | result | |||
| ) | [static] |
Calculate the component-wise maximum of two vectors.
| a | First operand | |
| b | Second operand | |
| result | The component-wise maximum |
Definition at line 664 of file Vector2.cs.
Calculate the component-wise maximum of two vectors.
| a | First operand | |
| b | Second operand |
Definition at line 651 of file Vector2.cs.
| static void OpenTK.Vector2.ComponentMin | ( | ref Vector2 | a, | |
| ref Vector2 | b, | |||
| out Vector2 | result | |||
| ) | [static] |
Calculate the component-wise minimum of two vectors.
| a | First operand | |
| b | Second operand | |
| result | The component-wise minimum |
Definition at line 635 of file Vector2.cs.
Calculate the component-wise minimum of two vectors.
| a | First operand | |
| b | Second operand |
Definition at line 622 of file Vector2.cs.
Divide a vector by a scalar.
| a | Vector operand | |
| f | Scalar operand | |
| result | Result of the division |
Definition at line 449 of file Vector2.cs.
Divide a vector by a scalar.
| a | Vector operand | |
| f | Scalar operand |
Definition at line 434 of file Vector2.cs.
| void OpenTK.Vector2.Div | ( | float | f | ) |
Divide this instance by a scalar.
| f | Scalar operand. |
Definition at line 167 of file Vector2.cs.
| static void OpenTK.Vector2.Divide | ( | ref Vector2 | vector, | |
| ref Vector2 | scale, | |||
| out Vector2 | result | |||
| ) | [static] |
Divide a vector by the components of a vector (scale).
| vector | Left operand. | |
| scale | Right operand. | |
| result | Result of the operation. |
Definition at line 607 of file Vector2.cs.
00608 { 00609 result = new Vector2(vector.X / scale.X, vector.Y / scale.Y); 00610 }
Divides a vector by the components of a vector (scale).
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 595 of file Vector2.cs.
00596 { 00597 Divide(ref vector, ref scale, out vector); 00598 return vector; 00599 }
Divides a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. | |
| result | Result of the operation. |
Definition at line 584 of file Vector2.cs.
00585 { 00586 Multiply(ref vector, 1 / scale, out result); 00587 }
Divides a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 572 of file Vector2.cs.
00573 { 00574 Divide(ref vector, scale, out vector); 00575 return vector; 00576 }
Calculate the dot (scalar) product of two vectors.
| left | First operand | |
| right | Second operand | |
| result | The dot product of the two inputs |
Definition at line 810 of file Vector2.cs.
Calculate the dot (scalar) product of two vectors.
| left | First operand | |
| right | Second operand |
Definition at line 799 of file Vector2.cs.
| bool OpenTK.Vector2.Equals | ( | Vector2 | other | ) |
Indicates whether the current vector is equal to another vector.
| other | A vector to compare with this vector. |
Definition at line 1081 of file Vector2.cs.
| override bool OpenTK.Vector2.Equals | ( | object | obj | ) |
Indicates whether this instance and a specified object are equal.
| obj | The object to compare to. |
Definition at line 1062 of file Vector2.cs.
| override int OpenTK.Vector2.GetHashCode | ( | ) |
Returns the hashcode for this instance.
Definition at line 1048 of file Vector2.cs.
| static void OpenTK.Vector2.Lerp | ( | ref Vector2 | a, | |
| ref Vector2 | b, | |||
| float | blend, | |||
| out Vector2 | result | |||
| ) | [static] |
Returns a new Vector that is the linear blend of the 2 given Vectors.
| a | First input vector | |
| b | Second input vector | |
| blend | The blend factor. a when blend=0, b when blend=1. | |
| result | a when blend=0, b when blend=1, and a linear combination otherwise |
Definition at line 840 of file Vector2.cs.
Returns a new Vector that is the linear blend of the 2 given Vectors.
| a | First input vector | |
| b | Second input vector | |
| blend | The blend factor. a when blend=0, b when blend=1. |
Definition at line 826 of file Vector2.cs.
Returns the Vector3 with the minimum magnitude.
| left | Left operand | |
| right | Right operand |
Definition at line 695 of file Vector2.cs.
Returns the Vector3 with the minimum magnitude.
| left | Left operand | |
| right | Right operand |
Definition at line 680 of file Vector2.cs.
Multiply a vector and a scalar.
| a | Vector operand | |
| f | Scalar operand | |
| result | Result of the multiplication |
Definition at line 417 of file Vector2.cs.
Multiply a vector and a scalar.
| a | Vector operand | |
| f | Scalar operand |
Definition at line 403 of file Vector2.cs.
| void OpenTK.Vector2.Mult | ( | float | f | ) |
Multiply this instance by a scalar.
| f | Scalar operand. |
Definition at line 154 of file Vector2.cs.
| static void OpenTK.Vector2.Multiply | ( | ref Vector2 | vector, | |
| ref Vector2 | scale, | |||
| out Vector2 | result | |||
| ) | [static] |
Multiplies a vector by the components of a vector (scale).
| vector | Left operand. | |
| scale | Right operand. | |
| result | Result of the operation. |
Definition at line 557 of file Vector2.cs.
00558 { 00559 result = new Vector2(vector.X * scale.X, vector.Y * scale.Y); 00560 }
Multiplies a vector by the components a vector (scale).
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 545 of file Vector2.cs.
00546 { 00547 Multiply(ref vector, ref scale, out vector); 00548 return vector; 00549 }
| static void OpenTK.Vector2.Multiply | ( | ref Vector2 | vector, | |
| float | scale, | |||
| out Vector2 | result | |||
| ) | [static] |
Multiplies a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. | |
| result | Result of the operation. |
Definition at line 534 of file Vector2.cs.
00535 { 00536 result = new Vector2(vector.X * scale, vector.Y * scale); 00537 }
Multiplies a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 522 of file Vector2.cs.
00523 { 00524 Multiply(ref vector, scale, out vector); 00525 return vector; 00526 }
Scale a vector to unit length.
| vec | The input vector | |
| result | The normalized vector |
Definition at line 753 of file Vector2.cs.
Scale a vector to unit length.
| vec | The input vector |
Definition at line 740 of file Vector2.cs.
| void OpenTK.Vector2.Normalize | ( | ) |
Scale a vector to approximately unit length.
| vec | The input vector | |
| result | The normalized vector |
Definition at line 782 of file Vector2.cs.
Scale a vector to approximately unit length.
| vec | The input vector |
Definition at line 769 of file Vector2.cs.
| void OpenTK.Vector2.NormalizeFast | ( | ) |
Compares the specified instances for inequality.
| left | Left operand. | |
| right | Right operand. |
Definition at line 1020 of file Vector2.cs.
Multiplies the specified instance by a scalar.
| scale | Left operand. | |
| vec | Right operand. |
Definition at line 982 of file Vector2.cs.
Multiplies the specified instance by a scalar.
| vec | Left operand. | |
| scale | Right operand. |
Definition at line 969 of file Vector2.cs.
Adds the specified instances.
| left | Left operand. | |
| right | Right operand. |
Definition at line 931 of file Vector2.cs.
Negates the specified instance.
| vec | Operand. |
Definition at line 956 of file Vector2.cs.
Subtracts the specified instances.
| left | Left operand. | |
| right | Right operand. |
Definition at line 944 of file Vector2.cs.
Divides the specified instance by a scalar.
| vec | Left operand | |
| scale | Right operand |
Definition at line 995 of file Vector2.cs.
Compares the specified instances for equality.
| left | Left operand. | |
| right | Right operand. |
Definition at line 1009 of file Vector2.cs.
| void OpenTK.Vector2.Scale | ( | ref Vector2 | scale | ) |
Scales this instance by the given parameter.
| scale | The scaling of the individual components. |
Definition at line 320 of file Vector2.cs.
| void OpenTK.Vector2.Scale | ( | Vector2 | scale | ) |
Scales this instance by the given parameter.
| scale | The scaling of the individual components. |
Definition at line 310 of file Vector2.cs.
| void OpenTK.Vector2.Scale | ( | float | sx, | |
| float | sy | |||
| ) |
Subtract one Vector from another.
| a | First operand | |
| b | Second operand | |
| result | Result of subtraction |
Definition at line 386 of file Vector2.cs.
Subtract one Vector from another.
| a | First operand | |
| b | Second operand |
Definition at line 372 of file Vector2.cs.
| void OpenTK.Vector2.Sub | ( | ref Vector2 | right | ) |
Subtract the Vector passed as parameter from this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 141 of file Vector2.cs.
| void OpenTK.Vector2.Sub | ( | Vector2 | right | ) |
Subtract the Vector passed as parameter from this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 131 of file Vector2.cs.
Subtract one Vector from another.
| a | First operand | |
| b | Second operand | |
| result | Result of subtraction |
Definition at line 507 of file Vector2.cs.
00508 { 00509 result = new Vector2(a.X - b.X, a.Y - b.Y); 00510 }
Subtract one Vector from another.
| a | First operand | |
| b | Second operand |
Definition at line 495 of file Vector2.cs.
00496 { 00497 Subtract(ref a, ref b, out a); 00498 return a; 00499 }
| override string OpenTK.Vector2.ToString | ( | ) |
Returns a System.String that represents the current Vector2.
Definition at line 1035 of file Vector2.cs.
| static void OpenTK.Vector2.Transform | ( | ref Vector2 | vec, | |
| ref Quaternion | quat, | |||
| out Vector2 | result | |||
| ) | [static] |
Transforms a vector by a quaternion rotation.
| vec | The vector to transform. | |
| quat | The quaternion to rotate the vector by. | |
| result | The result of the operation. |
Definition at line 909 of file Vector2.cs.
00910 { 00911 Quaternion v = new Quaternion(vec.X, vec.Y, 0, 0), i, t; 00912 Quaternion.Invert(ref quat, out i); 00913 Quaternion.Multiply(ref quat, ref v, out t); 00914 Quaternion.Multiply(ref t, ref i, out v); 00915 00916 result = new Vector2(v.X, v.Y); 00917 }
| static Vector2 OpenTK.Vector2.Transform | ( | Vector2 | vec, | |
| Quaternion | quat | |||
| ) | [static] |
Transforms a vector by a quaternion rotation.
| vec | The vector to transform. | |
| quat | The quaternion to rotate the vector by. |
Definition at line 896 of file Vector2.cs.
readonly Vector2 OpenTK.Vector2.One = new Vector2(1, 1) [static] |
Defines an instance with all components set to 1.
Definition at line 352 of file Vector2.cs.
readonly int OpenTK.Vector2.SizeInBytes = Marshal.SizeOf(new Vector2()) [static] |
Defines the size of the Vector2 struct in bytes.
Definition at line 357 of file Vector2.cs.
readonly Vector2 OpenTK.Vector2.UnitX = new Vector2(1, 0) [static] |
Defines a unit-length Vector2 that points towards the X-axis.
Definition at line 337 of file Vector2.cs.
readonly Vector2 OpenTK.Vector2.UnitY = new Vector2(0, 1) [static] |
Defines a unit-length Vector2 that points towards the Y-axis.
Definition at line 342 of file Vector2.cs.
| float OpenTK.Vector2.X |
The X component of the Vector2.
Definition at line 42 of file Vector2.cs.
| float OpenTK.Vector2.Y |
The Y component of the Vector2.
Definition at line 47 of file Vector2.cs.
readonly Vector2 OpenTK.Vector2.Zero = new Vector2(0, 0) [static] |
Defines a zero-length Vector2.
Definition at line 347 of file Vector2.cs.
float OpenTK.Vector2.Length [get] |
Gets the length (magnitude) of the vector.
Definition at line 184 of file Vector2.cs.
float OpenTK.Vector2.LengthFast [get] |
Gets an approximation of the vector length (magnitude).
This property uses an approximation of the square root function to calculate vector magnitude, with an upper error bound of 0.001.
Definition at line 205 of file Vector2.cs.
float OpenTK.Vector2.LengthSquared [get] |
Gets the square of the vector length (magnitude).
This property avoids the costly square root operation required by the Length property. This makes it more suitable for comparisons.
Definition at line 226 of file Vector2.cs.
Vector2 OpenTK.Vector2.PerpendicularLeft [get] |
Gets the perpendicular vector on the left side of this vector.
Definition at line 256 of file Vector2.cs.
Vector2 OpenTK.Vector2.PerpendicularRight [get] |
Gets the perpendicular vector on the right side of this vector.
Definition at line 241 of file Vector2.cs.
1.6.1