Level H Engine
|
A namespace for generating primitves. More...
Enumerations | |
enum | PrimativeType { TOURUS } |
Functions | |
std::vector< float > | generateTourus () |
A function to generate a tourus. More... | |
Vec3 | torus (float u, float v) |
A function to generate a point of a tourus. More... | |
A namespace for generating primitves.
std::vector< float > Primitives::generateTourus | ( | ) |
A function to generate a tourus.
Vec3 Primitives::torus | ( | float | u, |
float | v | ||
) |
A function to generate a point of a tourus.
u | The u value. |
v | The v value. |