Fermat
|
Encodes the minimal amount of information needed to represent a point on a surface, or a hit in ray tracing parlance;
#include <vertex.h>
Public Methods | |
FERMAT_HOST_DEVICE | VertexGeometryId (const uint32 _prim_id, const float _u, const float _v) |
FERMAT_HOST_DEVICE | VertexGeometryId (const uint32 _prim_id, const cugar::Vector2f _uv) |
Public Members | |
cugar::Vector2f | uv |
uint32 | prim_id |