Level H Engine
Namespaces | Enumerations | Functions
Primitives.h File Reference
#include <vector>
#include "../Maths/Vec2.h"
#include "../Maths/Vec3.h"
Include dependency graph for Primitives.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Primitives
 A namespace for generating primitves.
 

Enumerations

enum  Primitives::PrimativeType { Primitives::TOURUS }
 

Functions

std::vector< float > Primitives::generateTourus ()
 A function to generate a tourus. More...
 
Vec3 Primitives::torus (float u, float v)
 A function to generate a point of a tourus. More...