Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Physics::System::DeduplicatedMesh Struct Reference

Structure holding deduplicated mesh data for Jolt soft body. More...

Public Attributes

std::vector< glm::vec3 > vertices
 Unique vertices.
std::vector< uint32_t > indices
 Face indices referencing unique vertices.
std::vector< uint32_t > vertexMap
 Maps original vertex index to deduplicated index.

Detailed Description

Structure holding deduplicated mesh data for Jolt soft body.

Member Data Documentation

◆ indices

std::vector<uint32_t> Physics::System::DeduplicatedMesh::indices

Face indices referencing unique vertices.

◆ vertexMap

std::vector<uint32_t> Physics::System::DeduplicatedMesh::vertexMap

Maps original vertex index to deduplicated index.

◆ vertices

std::vector<glm::vec3> Physics::System::DeduplicatedMesh::vertices

Unique vertices.


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