Minor refactor

This commit is contained in:
MihailRis
2023-12-05 14:05:36 +03:00
parent a691526693
commit 2e98aa39d9
2 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
#include "Block.h"
#include "../core_defs.h"
using glm::vec3;
void CoordSystem::transform(AABB& aabb) {
@@ -34,8 +36,8 @@ const BlockRotProfile BlockRotProfile::PANE {"pane", {
Block::Block(std::string name)
: name(name),
textureFaces {"notfound","notfound","notfound",
"notfound","notfound","notfound",} {
textureFaces {TEXTURE_NOTFOUND,TEXTURE_NOTFOUND,TEXTURE_NOTFOUND,
TEXTURE_NOTFOUND,TEXTURE_NOTFOUND,TEXTURE_NOTFOUND,} {
rotations = BlockRotProfile::PIPE;
}