Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Getting shapes from an OBJ file
for (const auto &shape : loader.GetShapes()) {
const auto &mesh = shape.GetMesh();
const auto &material = shape.GetMaterial();
}
for (auto [mesh, material] : loader.GetShapes()) {}

shapes from an OBJ file