implement structures rotation
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
struct StructurePlacement {
|
||||
int structure;
|
||||
|
||||
glm::ivec3 position;
|
||||
uint8_t rotation;
|
||||
|
||||
StructurePlacement(int structure, glm::ivec3 position)
|
||||
: structure(structure), position(std::move(position)) {}
|
||||
StructurePlacement(int structure, glm::ivec3 position, uint8_t rotation)
|
||||
: structure(structure),
|
||||
position(std::move(position)),
|
||||
rotation(rotation) {
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user