Represents a 2D vector using two double-precision floating-point numbers. More...
Public Member Functions | |
| Vector2d (double x, double y) | |
| Constructs left vector with the given coordinates. | |
| void | Add (Vector2d right) |
| Add the Vector passed as parameter to this instance. | |
| void | Add (ref Vector2d right) |
| Add the Vector passed as parameter to this instance. | |
| void | Sub (Vector2d right) |
| Subtract the Vector passed as parameter from this instance. | |
| void | Sub (ref Vector2d right) |
| Subtract the Vector passed as parameter from this instance. | |
| void | Mult (double f) |
| Multiply this instance by a scalar. | |
| void | Div (double f) |
| Divide this instance by a scalar. | |
| void | Normalize () |
| Scales the Vector2 to unit length. | |
| void | Scale (double sx, double sy) |
| Scales the current Vector2 by the given amounts. | |
| void | Scale (Vector2d scale) |
| Scales this instance by the given parameter. | |
| void | Scale (ref Vector2d scale) |
| Scales this instance by the given parameter. | |
| override string | ToString () |
| Returns a System.String that represents the current instance. | |
| 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 (Vector2d other) |
| Indicates whether the current vector is equal to another vector. | |
Static Public Member Functions | |
| static Vector2d | Sub (Vector2d a, Vector2d b) |
| Subtract one Vector from another. | |
| static void | Sub (ref Vector2d a, ref Vector2d b, out Vector2d result) |
| Subtract one Vector from another. | |
| static Vector2d | Mult (Vector2d a, double d) |
| Multiply a vector and a scalar. | |
| static void | Mult (ref Vector2d a, double d, out Vector2d result) |
| Multiply a vector and a scalar. | |
| static Vector2d | Div (Vector2d a, double d) |
| Divide a vector by a scalar. | |
| static void | Div (ref Vector2d a, double d, out Vector2d result) |
| Divide a vector by a scalar. | |
| static Vector2d | Add (Vector2d a, Vector2d b) |
| Adds two vectors. | |
| static void | Add (ref Vector2d a, ref Vector2d b, out Vector2d result) |
| Adds two vectors. | |
| static Vector2d | Subtract (Vector2d a, Vector2d b) |
| Subtract one Vector from another. | |
| static void | Subtract (ref Vector2d a, ref Vector2d b, out Vector2d result) |
| Subtract one Vector from another. | |
| static Vector2d | Multiply (Vector2d vector, double scale) |
| Multiplies a vector by a scalar. | |
| static void | Multiply (ref Vector2d vector, double scale, out Vector2d result) |
| Multiplies a vector by a scalar. | |
| static Vector2d | Multiply (Vector2d vector, Vector2d scale) |
| Multiplies a vector by the components a vector (scale). | |
| static void | Multiply (ref Vector2d vector, ref Vector2d scale, out Vector2d result) |
| Multiplies a vector by the components of a vector (scale). | |
| static Vector2d | Divide (Vector2d vector, double scale) |
| Divides a vector by a scalar. | |
| static void | Divide (ref Vector2d vector, double scale, out Vector2d result) |
| Divides a vector by a scalar. | |
| static Vector2d | Divide (Vector2d vector, Vector2d scale) |
| Divides a vector by the components of a vector (scale). | |
| static void | Divide (ref Vector2d vector, ref Vector2d scale, out Vector2d result) |
| Divide a vector by the components of a vector (scale). | |
| static Vector2d | Min (Vector2d a, Vector2d b) |
| Calculate the component-wise minimum of two vectors. | |
| static void | Min (ref Vector2d a, ref Vector2d b, out Vector2d result) |
| Calculate the component-wise minimum of two vectors. | |
| static Vector2d | Max (Vector2d a, Vector2d b) |
| Calculate the component-wise maximum of two vectors. | |
| static void | Max (ref Vector2d a, ref Vector2d b, out Vector2d result) |
| Calculate the component-wise maximum of two vectors. | |
| static Vector2d | Clamp (Vector2d vec, Vector2d min, Vector2d max) |
| Clamp a vector to the given minimum and maximum vectors. | |
| static void | Clamp (ref Vector2d vec, ref Vector2d min, ref Vector2d max, out Vector2d result) |
| Clamp a vector to the given minimum and maximum vectors. | |
| static Vector2d | Normalize (Vector2d vec) |
| Scale a vector to unit length. | |
| static void | Normalize (ref Vector2d vec, out Vector2d result) |
| Scale a vector to unit length. | |
| static Vector2d | NormalizeFast (Vector2d vec) |
| Scale a vector to approximately unit length. | |
| static void | NormalizeFast (ref Vector2d vec, out Vector2d result) |
| Scale a vector to approximately unit length. | |
| static double | Dot (Vector2d left, Vector2d right) |
| Calculate the dot (scalar) product of two vectors. | |
| static void | Dot (ref Vector2d left, ref Vector2d right, out double result) |
| Calculate the dot (scalar) product of two vectors. | |
| static Vector2d | Lerp (Vector2d a, Vector2d b, double blend) |
| Returns a new Vector that is the linear blend of the 2 given Vectors. | |
| static void | Lerp (ref Vector2d a, ref Vector2d b, double blend, out Vector2d result) |
| Returns a new Vector that is the linear blend of the 2 given Vectors. | |
| static Vector2d | BaryCentric (Vector2d a, Vector2d b, Vector2d c, double u, double v) |
| Interpolate 3 Vectors using Barycentric coordinates. | |
| static void | BaryCentric (ref Vector2d a, ref Vector2d b, ref Vector2d c, double u, double v, out Vector2d result) |
| Interpolate 3 Vectors using Barycentric coordinates. | |
| static Vector2d | Transform (Vector2d vec, Quaterniond quat) |
| Transforms a vector by a quaternion rotation. | |
| static void | Transform (ref Vector2d vec, ref Quaterniond quat, out Vector2d result) |
| Transforms a vector by a quaternion rotation. | |
| static Vector2d | operator+ (Vector2d left, Vector2d right) |
| Adds two instances. | |
| static Vector2d | operator- (Vector2d left, Vector2d right) |
| Subtracts two instances. | |
| static Vector2d | operator- (Vector2d vec) |
| Negates an instance. | |
| static Vector2d | operator* (Vector2d vec, double f) |
| Multiplies an instance by a scalar. | |
| static Vector2d | operator* (double f, Vector2d vec) |
| Multiply an instance by a scalar. | |
| static Vector2d | operator/ (Vector2d vec, double f) |
| Divides an instance by a scalar. | |
| static bool | operator== (Vector2d left, Vector2d right) |
| Compares two instances for equality. | |
| static bool | operator!= (Vector2d left, Vector2d right) |
| Compares two instances for ienquality. | |
| static | operator Vector2d (Vector2 v2) |
| Converts OpenTK.Vector2 to OpenTK.Vector2d. | |
| static | operator Vector2 (Vector2d v2d) |
| Converts OpenTK.Vector2d to OpenTK.Vector2. | |
Public Attributes | |
| double | X |
| The X coordinate of this instance. | |
| double | Y |
| The Y coordinate of this instance. | |
Static Public Attributes | |
| static Vector2d | UnitX = new Vector2d(1, 0) |
| Defines a unit-length Vector2d that points towards the X-axis. | |
| static Vector2d | UnitY = new Vector2d(0, 1) |
| Defines a unit-length Vector2d that points towards the Y-axis. | |
| static Vector2d | Zero = new Vector2d(0, 0) |
| Defines a zero-length Vector2d. | |
| static readonly Vector2d | One = new Vector2d(1, 1) |
| Defines an instance with all components set to 1. | |
| static readonly int | SizeInBytes = Marshal.SizeOf(new Vector2d()) |
| Defines the size of the Vector2d struct in bytes. | |
Properties | |
| double | Length [get] |
| Gets the length (magnitude) of the vector. | |
| double | LengthSquared [get] |
| Gets the square of the vector length (magnitude). | |
| Vector2d | PerpendicularRight [get] |
| Gets the perpendicular vector on the right side of this vector. | |
| Vector2d | PerpendicularLeft [get] |
| Gets the perpendicular vector on the left side of this vector. | |
Represents a 2D vector using two double-precision floating-point numbers.
Definition at line 33 of file Vector2d.cs.
| OpenTK.Vector2d.Vector2d | ( | double | x, | |
| double | y | |||
| ) |
Constructs left vector with the given coordinates.
| x | The X coordinate. | |
| y | The Y coordinate. |
Definition at line 75 of file Vector2d.cs.
Adds two vectors.
| a | Left operand. | |
| b | Right operand. | |
| result | Result of operation. |
Definition at line 398 of file Vector2d.cs.
00399 { 00400 result = new Vector2d(a.X + b.X, a.Y + b.Y); 00401 }
Adds two vectors.
| a | Left operand. | |
| b | Right operand. |
Definition at line 386 of file Vector2d.cs.
00387 { 00388 Add(ref a, ref b, out a); 00389 return a; 00390 }
| void OpenTK.Vector2d.Add | ( | ref Vector2d | right | ) |
Add the Vector passed as parameter to this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 102 of file Vector2d.cs.
| void OpenTK.Vector2d.Add | ( | Vector2d | right | ) |
Add the Vector passed as parameter to this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 92 of file Vector2d.cs.
| static void OpenTK.Vector2d.BaryCentric | ( | ref Vector2d | a, | |
| ref Vector2d | b, | |||
| ref Vector2d | c, | |||
| double | u, | |||
| double | v, | |||
| out Vector2d | 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 759 of file Vector2d.cs.
00760 { 00761 result = a; // copy 00762 00763 Vector2d temp = b; // copy 00764 Subtract(ref temp, ref a, out temp); 00765 Multiply(ref temp, u, out temp); 00766 Add(ref result, ref temp, out result); 00767 00768 temp = c; // copy 00769 Subtract(ref temp, ref a, out temp); 00770 Multiply(ref temp, v, out temp); 00771 Add(ref result, ref temp, out result); 00772 }
| static Vector2d OpenTK.Vector2d.BaryCentric | ( | Vector2d | a, | |
| Vector2d | b, | |||
| Vector2d | c, | |||
| double | u, | |||
| double | 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 747 of file Vector2d.cs.
| static void OpenTK.Vector2d.Clamp | ( | ref Vector2d | vec, | |
| ref Vector2d | min, | |||
| ref Vector2d | max, | |||
| out Vector2d | 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 613 of file Vector2d.cs.
Clamp a vector to the given minimum and maximum vectors.
| vec | Input vector | |
| min | Minimum vector | |
| max | Maximum vector |
Definition at line 599 of file Vector2d.cs.
Divide a vector by a scalar.
| a | Vector operand | |
| d | Scalar operand | |
| result | Result of the division |
Definition at line 367 of file Vector2d.cs.
Divide a vector by a scalar.
| a | Vector operand | |
| d | Scalar operand |
Definition at line 352 of file Vector2d.cs.
| void OpenTK.Vector2d.Div | ( | double | f | ) |
Divide this instance by a scalar.
| f | Scalar operand. |
Definition at line 151 of file Vector2d.cs.
| static void OpenTK.Vector2d.Divide | ( | ref Vector2d | vector, | |
| ref Vector2d | scale, | |||
| out Vector2d | 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 525 of file Vector2d.cs.
00526 { 00527 result = new Vector2d(vector.X / scale.X, vector.Y / scale.Y); 00528 }
Divides a vector by the components of a vector (scale).
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 513 of file Vector2d.cs.
00514 { 00515 Divide(ref vector, ref scale, out vector); 00516 return vector; 00517 }
| static void OpenTK.Vector2d.Divide | ( | ref Vector2d | vector, | |
| double | scale, | |||
| out Vector2d | result | |||
| ) | [static] |
Divides a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. | |
| result | Result of the operation. |
Definition at line 502 of file Vector2d.cs.
00503 { 00504 Multiply(ref vector, 1 / scale, out result); 00505 }
Divides a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 490 of file Vector2d.cs.
00491 { 00492 Divide(ref vector, scale, out vector); 00493 return vector; 00494 }
| static void OpenTK.Vector2d.Dot | ( | ref Vector2d | left, | |
| ref Vector2d | right, | |||
| out double | result | |||
| ) | [static] |
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 698 of file Vector2d.cs.
Calculate the dot (scalar) product of two vectors.
| left | First operand | |
| right | Second operand |
Definition at line 687 of file Vector2d.cs.
| bool OpenTK.Vector2d.Equals | ( | Vector2d | other | ) |
Indicates whether the current vector is equal to another vector.
| other | A vector to compare with this vector. |
Definition at line 985 of file Vector2d.cs.
| override bool OpenTK.Vector2d.Equals | ( | object | obj | ) |
Indicates whether this instance and a specified object are equal.
| obj | The object to compare to. |
Definition at line 966 of file Vector2d.cs.
| override int OpenTK.Vector2d.GetHashCode | ( | ) |
Returns the hashcode for this instance.
Definition at line 952 of file Vector2d.cs.
| static void OpenTK.Vector2d.Lerp | ( | ref Vector2d | a, | |
| ref Vector2d | b, | |||
| double | blend, | |||
| out Vector2d | 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 728 of file Vector2d.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 714 of file Vector2d.cs.
Calculate the component-wise maximum of two vectors.
| a | First operand | |
| b | Second operand | |
| result | The component-wise maximum |
Definition at line 582 of file Vector2d.cs.
Calculate the component-wise maximum of two vectors.
| a | First operand | |
| b | Second operand |
Definition at line 569 of file Vector2d.cs.
Calculate the component-wise minimum of two vectors.
| a | First operand | |
| b | Second operand | |
| result | The component-wise minimum |
Definition at line 553 of file Vector2d.cs.
Calculate the component-wise minimum of two vectors.
| a | First operand | |
| b | Second operand |
Definition at line 540 of file Vector2d.cs.
Multiply a vector and a scalar.
| a | Vector operand | |
| d | Scalar operand | |
| result | Result of the multiplication |
Definition at line 335 of file Vector2d.cs.
Multiply a vector and a scalar.
| a | Vector operand | |
| d | Scalar operand |
Definition at line 321 of file Vector2d.cs.
| void OpenTK.Vector2d.Mult | ( | double | f | ) |
Multiply this instance by a scalar.
| f | Scalar operand. |
Definition at line 138 of file Vector2d.cs.
| static void OpenTK.Vector2d.Multiply | ( | ref Vector2d | vector, | |
| ref Vector2d | scale, | |||
| out Vector2d | 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 475 of file Vector2d.cs.
00476 { 00477 result = new Vector2d(vector.X * scale.X, vector.Y * scale.Y); 00478 }
Multiplies a vector by the components a vector (scale).
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 463 of file Vector2d.cs.
00464 { 00465 Multiply(ref vector, ref scale, out vector); 00466 return vector; 00467 }
| static void OpenTK.Vector2d.Multiply | ( | ref Vector2d | vector, | |
| double | scale, | |||
| out Vector2d | result | |||
| ) | [static] |
Multiplies a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. | |
| result | Result of the operation. |
Definition at line 452 of file Vector2d.cs.
00453 { 00454 result = new Vector2d(vector.X * scale, vector.Y * scale); 00455 }
Multiplies a vector by a scalar.
| vector | Left operand. | |
| scale | Right operand. |
Definition at line 440 of file Vector2d.cs.
00441 { 00442 Multiply(ref vector, scale, out vector); 00443 return vector; 00444 }
Scale a vector to unit length.
| vec | The input vector | |
| result | The normalized vector |
Definition at line 641 of file Vector2d.cs.
Scale a vector to unit length.
| vec | The input vector |
Definition at line 628 of file Vector2d.cs.
| void OpenTK.Vector2d.Normalize | ( | ) |
Scale a vector to approximately unit length.
| vec | The input vector | |
| result | The normalized vector |
Definition at line 670 of file Vector2d.cs.
Scale a vector to approximately unit length.
| vec | The input vector |
Definition at line 657 of file Vector2d.cs.
Converts OpenTK.Vector2d to OpenTK.Vector2.
| v2d | The Vector2d to convert. |
Definition at line 924 of file Vector2d.cs.
Converts OpenTK.Vector2 to OpenTK.Vector2d.
| v2 | The Vector2 to convert. |
Definition at line 916 of file Vector2d.cs.
00917 { 00918 return new Vector2d(v2.X, v2.Y); 00919 }
Compares two instances for ienquality.
| left | The left instance. | |
| right | The right instance. |
Definition at line 908 of file Vector2d.cs.
Multiply an instance by a scalar.
| f | The scalar. | |
| vec | The instance. |
Definition at line 870 of file Vector2d.cs.
Multiplies an instance by a scalar.
| vec | The instance. | |
| f | The scalar. |
Definition at line 857 of file Vector2d.cs.
Adds two instances.
| left | The left instance. | |
| right | The right instance. |
Definition at line 819 of file Vector2d.cs.
Negates an instance.
| vec | The instance. |
Definition at line 844 of file Vector2d.cs.
Subtracts two instances.
| left | The left instance. | |
| right | The right instance. |
Definition at line 832 of file Vector2d.cs.
Divides an instance by a scalar.
| vec | The instance. | |
| f | The scalar. |
Definition at line 883 of file Vector2d.cs.
Compares two instances for equality.
| left | The left instance. | |
| right | The right instance. |
Definition at line 897 of file Vector2d.cs.
| void OpenTK.Vector2d.Scale | ( | ref Vector2d | scale | ) |
Scales this instance by the given parameter.
| scale | The scaling of the individual components. |
Definition at line 267 of file Vector2d.cs.
| void OpenTK.Vector2d.Scale | ( | Vector2d | scale | ) |
Scales this instance by the given parameter.
| scale | The scaling of the individual components. |
Definition at line 257 of file Vector2d.cs.
| void OpenTK.Vector2d.Scale | ( | double | sx, | |
| double | sy | |||
| ) |
Scales the current Vector2 by the given amounts.
| sx | The scale of the X component. | |
| sy | The scale of the Y component. |
Definition at line 248 of file Vector2d.cs.
Subtract one Vector from another.
| a | First operand | |
| b | Second operand | |
| result | Result of subtraction |
Definition at line 304 of file Vector2d.cs.
Subtract one Vector from another.
| a | First operand | |
| b | Second operand |
Definition at line 290 of file Vector2d.cs.
| void OpenTK.Vector2d.Sub | ( | ref Vector2d | right | ) |
Subtract the Vector passed as parameter from this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 125 of file Vector2d.cs.
| void OpenTK.Vector2d.Sub | ( | Vector2d | right | ) |
Subtract the Vector passed as parameter from this instance.
| right | Right operand. This parameter is only read from. |
Definition at line 115 of file Vector2d.cs.
| static void OpenTK.Vector2d.Subtract | ( | ref Vector2d | a, | |
| ref Vector2d | b, | |||
| out Vector2d | result | |||
| ) | [static] |
Subtract one Vector from another.
| a | First operand | |
| b | Second operand | |
| result | Result of subtraction |
Definition at line 425 of file Vector2d.cs.
00426 { 00427 result = new Vector2d(a.X - b.X, a.Y - b.Y); 00428 }
Subtract one Vector from another.
| a | First operand | |
| b | Second operand |
Definition at line 413 of file Vector2d.cs.
00414 { 00415 Subtract(ref a, ref b, out a); 00416 return a; 00417 }
| override string OpenTK.Vector2d.ToString | ( | ) |
Returns a System.String that represents the current instance.
Definition at line 939 of file Vector2d.cs.
| static void OpenTK.Vector2d.Transform | ( | ref Vector2d | vec, | |
| ref Quaterniond | quat, | |||
| out Vector2d | 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 797 of file Vector2d.cs.
00798 { 00799 Quaterniond v = new Quaterniond(vec.X, vec.Y, 0, 0), i, t; 00800 Quaterniond.Invert(ref quat, out i); 00801 Quaterniond.Multiply(ref quat, ref v, out t); 00802 Quaterniond.Multiply(ref t, ref i, out v); 00803 00804 result = new Vector2d(v.X, v.Y); 00805 }
| static Vector2d OpenTK.Vector2d.Transform | ( | Vector2d | vec, | |
| Quaterniond | 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 784 of file Vector2d.cs.
readonly Vector2d OpenTK.Vector2d.One = new Vector2d(1, 1) [static] |
Defines an instance with all components set to 1.
Definition at line 61 of file Vector2d.cs.
readonly int OpenTK.Vector2d.SizeInBytes = Marshal.SizeOf(new Vector2d()) [static] |
Defines the size of the Vector2d struct in bytes.
Definition at line 66 of file Vector2d.cs.
Vector2d OpenTK.Vector2d.UnitX = new Vector2d(1, 0) [static] |
Defines a unit-length Vector2d that points towards the X-axis.
Definition at line 46 of file Vector2d.cs.
Vector2d OpenTK.Vector2d.UnitY = new Vector2d(0, 1) [static] |
Defines a unit-length Vector2d that points towards the Y-axis.
Definition at line 51 of file Vector2d.cs.
| double OpenTK.Vector2d.X |
The X coordinate of this instance.
Definition at line 38 of file Vector2d.cs.
| double OpenTK.Vector2d.Y |
The Y coordinate of this instance.
Definition at line 41 of file Vector2d.cs.
Vector2d OpenTK.Vector2d.Zero = new Vector2d(0, 0) [static] |
Defines a zero-length Vector2d.
Definition at line 56 of file Vector2d.cs.
double OpenTK.Vector2d.Length [get] |
Gets the length (magnitude) of the vector.
Definition at line 167 of file Vector2d.cs.
double OpenTK.Vector2d.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 187 of file Vector2d.cs.
Vector2d OpenTK.Vector2d.PerpendicularLeft [get] |
Gets the perpendicular vector on the left side of this vector.
Definition at line 217 of file Vector2d.cs.
Vector2d OpenTK.Vector2d.PerpendicularRight [get] |
Gets the perpendicular vector on the right side of this vector.
Definition at line 202 of file Vector2d.cs.
1.6.1