Go to the source code of this file.
Classes | |
class | FMVector2 |
A 2 dimensional vector. More... | |
Typedefs | |
typedef fm::vector< FMVector2 > | FMVector2List |
A dynamically-sized array of 2D vectors or points. | |
Functions | |
FMVector2 | operator+ (const FMVector2 &a, const FMVector2 &b) |
Vector addition with two vectors. | |
FMVector2 | operator- (const FMVector2 &a, const FMVector2 &b) |
Vector subtraction with two vectors. | |
float | operator * (const FMVector2 &a, const FMVector2 &b) |
Dot product of two vectors. | |
FMVector2 | operator * (const FMVector2 &a, float b) |
Scalar multiplication with a vector. | |
FMVector2 | operator * (float a, const FMVector2 &b) |
Scalar multiplication with a vector. | |
FMVector2 | operator/ (const FMVector2 &a, float b) |
Scalar divison with a vector. | |
bool | IsEquivalent (const FMVector2 &a, const FMVector2 &b) |
Retrieves whether two 2D vectors are equivalent. | |
bool | operator== (const FMVector2 &a, const FMVector2 &b) |
See above. |
|
Retrieves whether two 2D vectors are equivalent.
|
|
Scalar multiplication with a vector.
|
|
Scalar multiplication with a vector.
|
|
Dot product of two vectors.
|
|
Vector addition with two vectors.
|
|
Vector subtraction with two vectors.
|
|
Scalar divison with a vector.
|