Fermat
|
Classes | |
struct | VertexGeometry |
struct | VertexGeometryId |
struct | VertexStorageView |
struct | VertexStorage |
Enumerations | |
enum | VertexSampling { kAll = 0, kEnd = 1 } |
enum | VertexOrdering { kRandomOrdering = 0, kPathOrdering = 1 } |
Functions | |
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE uint32 | pack_direction (const cugar::Vector3f &dir) |
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector3f | unpack_direction (const uint32 packed_dir) |
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE uint32 pack_direction | ( | const cugar::Vector3f & | dir | ) |
pack a normalized direction vector in 32-bits
FERMAT_HOST_DEVICE FERMAT_FORCEINLINE cugar::Vector3f unpack_direction | ( | const uint32 | packed_dir | ) |
unpack a 32-bits normalized direction vector