structure for 2-dimensional integer vector and its arithmetic.
More...
#include <ivec.h>
Definition at line 14 of file ivec.h.
◆ ivec2() [1/4]
graphics::ivec2::ivec2 |
( |
| ) |
|
|
inline |
◆ ivec2() [2/4]
graphics::ivec2::ivec2 |
( |
int |
a | ) |
|
|
inline |
◆ ivec2() [3/4]
graphics::ivec2::ivec2 |
( |
int |
v_1, |
|
|
int |
v_2 |
|
) |
| |
|
inline |
◆ ivec2() [4/4]
graphics::ivec2::ivec2 |
( |
const ivec2 & |
a | ) |
|
|
inline |
◆ operator()() [1/2]
int& graphics::ivec2::operator() |
( |
int |
i | ) |
|
|
inline |
◆ operator()() [2/2]
const int& graphics::ivec2::operator() |
( |
int |
i | ) |
const |
|
inline |
◆ operator=()
ivec2& graphics::ivec2::operator= |
( |
const ivec2 & |
a | ) |
|
|
inline |
◆ operator[]() [1/2]
int& graphics::ivec2::operator[] |
( |
int |
i | ) |
|
|
inline |
◆ operator[]() [2/2]
const int& graphics::ivec2::operator[] |
( |
int |
i | ) |
const |
|
inline |
const int graphics::ivec2::n |
|
static |
int graphics::ivec2::v[2] |
The documentation for this struct was generated from the following file: