Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::scene::loader::Bezier Class Reference
Inheritance diagram for oe::scene::loader::Bezier:
[legend]
Collaboration diagram for oe::scene::loader::Bezier:
[legend]

Public Member Functions

 Bezier (const int32_t patch_size=9)
 
void addControlPoint (const Vertex &point)
 
oe::scene::Mesh buildMesh (const int32_t lod, const bool generate_texcoords=true, const bool generate_normals=true)
 Build a mesh of specified LOD.
 
const std::vector< Vertex > & getControlPoints () const
 

Member Function Documentation

◆ buildMesh()

oe::scene::Mesh oe::scene::loader::Bezier::buildMesh ( const int32_t  lod,
const bool  generate_texcoords = true,
const bool  generate_normals = true 
)

Build a mesh of specified LOD.

Parameters
intlod Level of details. This could be used for generating collision mesh with low values for example
Returns
the mesh created

The documentation for this class was generated from the following file: