summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-11 03:10:33 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-11 03:10:33 +0200
commit809c4766ba13e85546a747fe5e0dbd82e1e6d549 (patch)
tree28c807512b8f76fe3f4555858a9492ff5b6cad39 /src/Render.cpp
parentSupport rotation in BlockStates (diff)
downloadAltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.tar
AltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.tar.gz
AltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.tar.bz2
AltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.tar.lz
AltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.tar.xz
AltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.tar.zst
AltCraft-809c4766ba13e85546a747fe5e0dbd82e1e6d549.zip
Diffstat (limited to 'src/Render.cpp')
-rw-r--r--src/Render.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index c1f7f2c..7f11dd9 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -419,6 +419,9 @@ void Render::RenderGui() {
world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock).id,
world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock).state,
AssetManager::GetAssetNameByBlockId(BlockId{ world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock).id,0 }).c_str());
+
+ ImGui::Text("Selected block direction: %d",
+ AssetManager::GetBlockModelByBlockId(world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock)).direction);
}
ImGui::End();