Skip to content

Commit

Permalink
Camera pos readout
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Sep 9, 2021
1 parent f738b6b commit 98c5aaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"addressSanitizerEnabled": true,
"inheritEnvironments": [ "msvc_x64" ],
"variables": [
{
Expand Down
2 changes: 2 additions & 0 deletions NoiseTool/MeshNoisePreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ void MeshNoisePreview::Draw( const Matrix4& transformation, const Matrix4& proje
ImGui::Text( "Min Air Y (%0.1f) : Max Solid Y (%0.1f)", mMinAirY, mMaxSolidY );
}

ImGui::Text( "Camera Pos: %0.1f, %0.1f, %0.1f", cameraPosition.x(), cameraPosition.y(), cameraPosition.z() );

UpdateChunksForPosition( cameraPosition );
}

Expand Down

0 comments on commit 98c5aaf

Please sign in to comment.