MCPcopy Create free account
hub / github.com/crownengine/crown / Geometry

Method Geometry

src/resource/mesh.cpp:593–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593Geometry::Geometry(Allocator &a)
594 : _positions(a)
595 , _normals(a)
596 , _uvs(a)
597 , _tangents(a)
598 , _bitangents(a)
599 , _bones(a)
600 , _weights(a)
601 , _position_indices(a)
602 , _normal_indices(a)
603 , _tangent_indices(a)
604 , _bitangent_indices(a)
605 , _bone_indices(a)
606 , _weight_indices(a)
607 , _uv_indices(a)
608 , _vertex_buffer(a)
609 , _index_buffer(a)
610{
611 mesh::reset(*this);
612}
613
614Mesh::Mesh(Allocator &a)
615 : _geometries(a)

Callers

nothing calls this directly

Calls 1

resetFunction · 0.70

Tested by

no test coverage detected