HDK
|
Unit vector occupying only 16 bits. More...
#include <QuantizedUnitVec.h>
Static Public Member Functions | |
template<typename T > | |
static uint16_t | pack (const Vec3< T > &vec) |
static Vec3s | unpack (const uint16_t data) |
static void | flipSignBits (uint16_t &) |
Unit vector occupying only 16 bits.
Stores two quantized components. Based on the "Higher Accuracy Quantized Normals" article from GameDev.Net LLC, 2000
Definition at line 19 of file QuantizedUnitVec.h.
|
inlinestatic |
Definition at line 112 of file QuantizedUnitVec.h.
|
inlinestatic |
Definition at line 48 of file QuantizedUnitVec.h.
|
inlinestatic |
Definition at line 86 of file QuantizedUnitVec.h.