diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-11 03:10:33 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-11 03:10:33 +0200 |
commit | 809c4766ba13e85546a747fe5e0dbd82e1e6d549 (patch) | |
tree | 28c807512b8f76fe3f4555858a9492ff5b6cad39 /src/Render.cpp | |
parent | Support rotation in BlockStates (diff) | |
download | AltCraft-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 '')
-rw-r--r-- | src/Render.cpp | 3 |
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(); |