A storage only class for half precision floating point vector 2. More...
#include <half.h>
Public Member Functions | |
| constexpr | HalfVector2 () |
| constexpr | HalfVector2 (const Vector2 &a) |
| constexpr | HalfVector2 (InternalHalf x, InternalHalf y) |
| constexpr bool | operator== (const HalfVector2 &v) const |
| constexpr bool | operator!= (const HalfVector2 &v) const |
Public Attributes | |
| union { | |
| struct { | |
| InternalHalf x = 0 | |
| InternalHalf y = 0 | |
| } | |
| InternalHalf e [2] | |
| }; | |
A storage only class for half precision floating point vector 2.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| union { ... } |
| InternalHalf impeller::HalfVector2::e[2] |
| InternalHalf impeller::HalfVector2::x = 0 |
Definition at line 132 of file half.h.
Referenced by operator!=(), std::operator<<(), and operator==().
| InternalHalf impeller::HalfVector2::y = 0 |
Definition at line 133 of file half.h.
Referenced by operator!=(), std::operator<<(), and operator==().