candlewick 0.6.0
A tiny cross-platform renderer based on SDL3
|
Go to the source code of this file.
Namespaces | |
namespace | candlewick |
namespace | candlewick::detail |
Functions | |
void | candlewick::apply3DTransformInPlace (MeshData &meshData, const Eigen::Affine3f &tr) |
Apply an Eigen::Affine3f 3D transform to a mesh in-place, transforming its vertices. | |
void | candlewick::triangleStripGenerateIndices (Uint32 vertexCount, std::vector< Uint32 > &indices) |
Generate indices for a triangle strip geometry, given the vertex count. | |
MeshData | candlewick::generateIndices (const MeshData &meshData) |
Convert MeshData object to an indexed mesh. | |
std::pair< Uint32, Uint32 > | candlewick::detail::mergeCalcIndexVertexCount (std::span< const MeshData > meshes) |
Number of vertices and indices in the merged mesh. | |
MeshData | candlewick::mergeMeshes (std::span< const MeshData > meshes) |
Merge meshes down to a single mesh with consistent indexing. | |
MeshData | candlewick::mergeMeshes (std::vector< MeshData > &&meshes) |
Merge meshes down to a single mesh with consistent indexing. | |