moved sts/normals present

This commit is contained in:
h4570
2020-12-28 16:05:48 +01:00
parent 1b6e1e94ee
commit ad43a4bfd3
5 changed files with 30 additions and 16 deletions
-8
View File
@@ -143,9 +143,6 @@ public:
const u8 &areMaterialsAllocated() const { return _areMaterialsAllocated; };
const u8 &isBoundingBoxCalculated() const { return _isBoundingBoxCalculated; };
const u8 &areSTsPresent() const { return _areSTsPresent; };
const u8 &areNormalsPresent() const { return _areNormalsPresent; };
/** Create reference copy (non-mother) */
void copyFrom(MeshFrame *t_refCopy);
@@ -161,9 +158,6 @@ public:
/** Set materials count and allocate memory. */
void allocateMaterials(const u32 &t_val);
void setSTsPresent(const u8 &b) { _areSTsPresent = b; };
void setNormalsPresent(const u8 &b) { _areNormalsPresent = b; };
/**
* Calculates bounding box (AABB) for frame and for materiaals.
* Should be called by data loader,
@@ -178,8 +172,6 @@ private:
_areVerticesAllocated,
_areNormalsAllocated,
_areMaterialsAllocated,
_areSTsPresent,
_areNormalsPresent,
_isBoundingBoxCalculated;
u32 vertexCount, stsCount, normalsCount, materialsCount, id;
MeshMaterial *materials;