GameKit
0.0.1a
C++ gamedev tools
|
#include <Vector2.hpp>
Public Member Functions | |
Vector2 ()=default | |
Vector2 (T _x, T _y) | |
template<typename U > | |
Vector2 (const Vector2< U > &vector2) | |
Vector2 | operator+ (const Vector2< T > &vector2) const |
Vector2 | operator- (const Vector2< T > &vector2) const |
Vector2 | operator- () const |
Vector2 | operator* (T n) const |
Vector2 | operator/ (T n) const |
Vector2 & | operator= (T n) |
Vector2 & | operator+= (const Vector2 &vector2) |
Vector2 & | operator-= (const Vector2 &vector2) |
Vector2 & | operator*= (T n) |
Vector2 & | operator/= (T n) |
bool | operator== (const Vector2< T > &vector2) const |
bool | operator!= (const Vector2< T > &vector2) const |
bool | operator< (const Vector2< T > &vector2) const |
bool | operator> (const Vector2< T > &vector2) const |
Public Attributes | |
T | x |
T | y |
Definition at line 25 of file Vector2.hpp.
|
default |
|
inline |
Definition at line 29 of file Vector2.hpp.
|
inline |
Definition at line 32 of file Vector2.hpp.
|
inline |
Definition at line 54 of file Vector2.hpp.
|
inline |
Definition at line 37 of file Vector2.hpp.
|
inline |
Definition at line 50 of file Vector2.hpp.
|
inline |
Definition at line 34 of file Vector2.hpp.
|
inline |
Definition at line 48 of file Vector2.hpp.
|
inline |
Definition at line 35 of file Vector2.hpp.
|
inline |
Definition at line 36 of file Vector2.hpp.
|
inline |
Definition at line 49 of file Vector2.hpp.
|
inline |
Definition at line 39 of file Vector2.hpp.
|
inline |
Definition at line 51 of file Vector2.hpp.
|
inline |
Definition at line 57 of file Vector2.hpp.
|
inline |
Definition at line 47 of file Vector2.hpp.
|
inline |
Definition at line 53 of file Vector2.hpp.
|
inline |
Definition at line 58 of file Vector2.hpp.
T gk::Vector2< T >::x |
Definition at line 60 of file Vector2.hpp.
T gk::Vector2< T >::y |
Definition at line 61 of file Vector2.hpp.