NcEngine
|
A two component vector. More...
#include <Vector.h>
Public Member Functions | |
constexpr | Vector2 (float x_, float y_) noexcept |
Static Public Member Functions | |
static constexpr Vector2 | Splat (float v) noexcept |
static constexpr Vector2 | Zero () noexcept |
static constexpr Vector2 | One () noexcept |
static constexpr Vector2 | Up () noexcept |
static constexpr Vector2 | Down () noexcept |
static constexpr Vector2 | Left () noexcept |
static constexpr Vector2 | Right () noexcept |
Public Attributes | |
float | x |
float | y |
A two component vector.