Antkeeper  0.0.1
Namespaces | Functions
brep-operations.hpp File Reference
#include <engine/geom/brep/brep-mesh.hpp>
#include <engine/render/model.hpp>
#include <engine/render/material.hpp>
#include <memory>

Go to the source code of this file.

Namespaces

 geom
 Geometric algorithms.
 

Functions

void geom::generate_face_normals (brep_mesh &mesh)
 Generates the math::fvec3 face attribute "normal" for a B-rep mesh. More...
 
void geom::generate_vertex_normals (brep_mesh &mesh)
 Generates the math::fvec3 vertex attribute "normal" for a B-rep mesh. More...
 
void geom::generate_loop_barycentric (brep_mesh &mesh)
 Generates the math::fvec3 loop attribute "barycentric" for a B-rep mesh. More...
 
std::unique_ptr< render::modelgeom::generate_model (const brep_mesh &mesh, std::shared_ptr< render::material > material=nullptr)
 Generates a model from a B-rep mesh. More...