13class PhysicVbo :
public btTriangleIndexVertexArray {
18 PhysicVbo(
const std::vector<btVector3>* v);
23 void addIndex(
const std::vector<uint32_t>& index,
size_t iboOff,
size_t iboLen, zenkit::MaterialGroup material);
24 void addIndex(
const std::vector<uint32_t>& index,
size_t iboOff,
size_t iboLen, zenkit::MaterialGroup material,
const char* sector);
25 zenkit::MaterialGroup
materialId(
size_t segment)
const;
26 auto sectorName(
size_t segment)
const ->
const char*;
37 void addSegment(
size_t indexSize,
size_t offset, zenkit::MaterialGroup material,
const char* sector);
42 zenkit::MaterialGroup mat;
43 const char* sector=
nullptr;
46 std::vector<btVector3> vStorage;
47 const std::vector<btVector3>& vert;
48 std::vector<uint32_t> id;
49 std::vector<Segment> segments;