mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Added pane rotation profile
This commit is contained in:
parent
788234ab94
commit
81704140a7
5 changed files with 18 additions and 5 deletions
|
|
@ -21,6 +21,17 @@ const BlockRotProfile BlockRotProfile::PIPE {{
|
|||
{{1, 0, 0}, {0, 0, 1}, {0, -1, 0}, {0, 0, -1}, {0, 1, 0}},
|
||||
}};
|
||||
|
||||
const BlockRotProfile BlockRotProfile::PANE {{
|
||||
// North
|
||||
{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}, {0, 0, 0}, {0, 0, 0}},
|
||||
// East
|
||||
{{0, 0, -1}, {0, 1, 0}, {1, 0, 0}, {1, 0, 0}, {0, 0, 1}},
|
||||
// South
|
||||
{{-1, 0, 0}, {0, 1, 0}, {0, 0, -1}, {1, 0, -1}, {1, 0, 1}},
|
||||
// West
|
||||
{{0, 0, 1}, {0, 1, 0}, {-1, 0, 0}, {0, 0, -1}, {1, 0, 0}},
|
||||
}};
|
||||
|
||||
Block::Block(std::string name)
|
||||
: name(name),
|
||||
textureFaces {"notfound","notfound","notfound",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue