|
2D_Game_Engine
|
#include <structs.hpp>
Public Member Functions | |
| Vec2 () | |
| Vec2 (float x, float y) | |
Public Attributes | ||
| union { | ||
| float x | ||
| float w | ||
| }; | ||
| union { | ||
| float y | ||
| float h | ||
| }; | ||
Definition at line 3 of file structs.hpp.
| Vec2::Vec2 | ( | ) |
Definition at line 4 of file structs.cpp.
| Vec2::Vec2 | ( | float | x, |
| float | y ) |
Definition at line 5 of file structs.cpp.
| union { ... } Vec2 |
| union { ... } Vec2 |
| float Vec2::h |
Definition at line 10 of file structs.hpp.
| float Vec2::w |
Definition at line 6 of file structs.hpp.
| float Vec2::x |
Definition at line 5 of file structs.hpp.
| float Vec2::y |
Definition at line 9 of file structs.hpp.