|
GDF 26.1a
Game Development Framework - https://gdf.acits.nl
|
Public Members | |
| Vector2 (float _x, float _y) | |
| Vector2 () | |
| void | Add (Vector2 vector) |
| void | Subtract (Vector2 vector) |
| void | ScalarMultiply (float scale) |
| void | ScalarMultiply (Vector2 scale) |
| void | ScalarDivide (float scale) |
| void | ScalarDivide (Vector2 scale) |
| float | Dot (Vector2 vector) |
| float | Length () |
| float | LengthSquared () |
| void | Normalize () |
| float | AngleBetween (Vector2 vector) |
| void | Negate () |
Static Public Members | |
| static Vector2 | operator+ (Vector2 vector1, Vector2 vector2) |
| static Vector2 | Add (Vector2 vector1, Vector2 vector2) |
| static Vector2 | operator- (Vector2 vector1, Vector2 vector2) |
| static Vector2 | Subtract (Vector2 vector1, Vector2 vector2) |
| static Vector2 | operator* (Vector2 vector, float scale) |
| static Vector2 | ScalarMultiply (Vector2 vector, float scale) |
| static Vector2 | operator* (Vector2 vector1, Vector2 vector2) |
| static Vector2 | ScalarMultiply (Vector2 vector1, Vector2 vector2) |
| static Vector2 | operator/ (Vector2 vector, float scale) |
| static Vector2 | operator/ (Vector2 vector1, Vector2 vector2) |
| static Vector2 | ScalarDivide (Vector2 vector, float scale) |
| static Vector2 | ScalarDivide (Vector2 vector1, Vector2 vector2) |
| static float | Dot (Vector2 vector1, Vector2 vector2) |
| static float | Length (Vector2 vector) |
| static float | LengthSquared (Vector2 vector) |
| static Vector2 | Normalize (Vector2 vector) |
| static float | AngleBetween (Vector2 vector1, Vector2 vector2) |
| static Vector2 | operator- (Vector2 vector) |
| static void | Negate (Vector2 vector) |
| static bool | operator== (Vector2 vector1, Vector2 vector2) |
| static bool | operator!= (Vector2 vector1, Vector2 vector2) |
| static bool | operator>= (Vector2 vector1, Vector2 vector2) |
| static bool | operator<= (Vector2 vector1, Vector2 vector2) |
| static bool | operator< (Vector2 vector1, Vector2 vector2) |
| static bool | operator> (Vector2 vector1, Vector2 vector2) |
Public Attributen | |
| float | X = 0.0f |
| float | Y = 0.0f |
Properties | |
| float | this[int i] [get, set] |
| Math_Implementation.Vector2.Vector2 | ( | float | _x, |
| float | _y ) |
| Math_Implementation.Vector2.Vector2 | ( | ) |
| void Math_Implementation.Vector2.Add | ( | Vector2 | vector | ) |
| float Math_Implementation.Vector2.AngleBetween | ( | Vector2 | vector | ) |
| float Math_Implementation.Vector2.Dot | ( | Vector2 | vector | ) |
| float Math_Implementation.Vector2.Length | ( | ) |
|
static |
| float Math_Implementation.Vector2.LengthSquared | ( | ) |
|
static |
| void Math_Implementation.Vector2.Negate | ( | ) |
|
static |
| void Math_Implementation.Vector2.Normalize | ( | ) |
| void Math_Implementation.Vector2.ScalarDivide | ( | float | scale | ) |
| void Math_Implementation.Vector2.ScalarDivide | ( | Vector2 | scale | ) |
| void Math_Implementation.Vector2.ScalarMultiply | ( | float | scale | ) |
| void Math_Implementation.Vector2.ScalarMultiply | ( | Vector2 | scale | ) |
| void Math_Implementation.Vector2.Subtract | ( | Vector2 | vector | ) |
| float Math_Implementation.Vector2.X = 0.0f |
| float Math_Implementation.Vector2.Y = 0.0f |
|
getset |