fixed textures overlapping
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
namespace Tyra {
|
||||
|
||||
DynamicMesh::DynamicMesh(const MeshBuilderData& data) : Mesh(data) {
|
||||
TYRA_ASSERT(framesCount > 1, "Frames count must be greater than 1");
|
||||
|
||||
framesCount = data.framesCount;
|
||||
|
||||
TYRA_ASSERT(framesCount > 1, "Frames count must be greater than 1");
|
||||
|
||||
frames = new MeshFrame*[framesCount];
|
||||
for (u32 i = 0; i < framesCount; i++) {
|
||||
frames[i] = new MeshFrame(data, i);
|
||||
|
||||
Reference in New Issue
Block a user