opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
mesh_functions.h File Reference
#include <liboscar/graphics/mesh.h>
#include <liboscar/graphics/mesh_indices_view.h>
#include <liboscar/graphics/mesh_topology.h>
#include <liboscar/maths/sphere.h>
#include <liboscar/maths/vector.h>
#include <span>
#include <vector>
Include dependency graph for mesh_functions.h:

Go to the source code of this file.

Namespaces

namespace  osc
 

Functions

Vector3 osc::mass_center_of (const Mesh &)
 
Vector3 osc::average_centroid_of (const Mesh &)
 
std::vector< Vector4osc::calc_tangent_vectors (const MeshTopology &, std::span< const Vector3 > vertices, std::span< const Vector3 > normals, std::span< const Vector2 > tex_coords, const MeshIndicesView &)
 
std::optional< Sphereosc::bounding_sphere_of (const Mesh &)