mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 08:42:35 +00:00
Materials now have their own vector and are acessed via indexes
This commit is contained in:
@@ -36,7 +36,7 @@ namespace BSP
|
||||
|
||||
struct BSPSurface
|
||||
{
|
||||
BSPMaterial material;
|
||||
size_t materialIndex;
|
||||
uint16_t vertexCount;
|
||||
uint16_t triCount;
|
||||
int indexOfFirstVertex;
|
||||
@@ -48,6 +48,7 @@ namespace BSP
|
||||
std::vector<BSPSurface> surfaces;
|
||||
std::vector<BSPVertex> vertices;
|
||||
std::vector<uint16_t> indices;
|
||||
std::vector<BSPMaterial> materials;
|
||||
};
|
||||
|
||||
struct BSPData
|
||||
|
||||
Reference in New Issue
Block a user