Antkeeper  0.0.1
Namespaces | Functions
brep-operations.cpp File Reference
#include <engine/geom/brep/brep-operations.hpp>
#include <engine/math/vector.hpp>
#include <engine/render/vertex-attribute-location.hpp>
#include <engine/debug/log.hpp>
#include <algorithm>
#include <cmath>

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...