mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 16:02:08 +02:00
removed grab voxel rendering
This commit is contained in:
parent
3d1ddf047e
commit
a5a0df09cb
3 changed files with 5 additions and 6 deletions
|
@ -244,7 +244,6 @@ static void renderMovingBug() {
|
|||
}
|
||||
|
||||
|
||||
|
||||
float intensity = 0.5f;
|
||||
float intensityIncrement = 0.1f;
|
||||
const float MAX_INTENSITY = 1.0f;
|
||||
|
|
|
@ -1991,7 +1991,7 @@ void Application::displaySide(Camera& whichCamera) {
|
|||
|
||||
// Enable to show line from me to the voxel I am touching
|
||||
//renderLineToTouchedVoxel();
|
||||
renderThrustAtVoxel(_voxelThrust);
|
||||
//renderThrustAtVoxel(_voxelThrust);
|
||||
|
||||
// draw a red sphere
|
||||
float sphereRadius = 0.25f;
|
||||
|
|
|
@ -95,6 +95,9 @@ private slots:
|
|||
|
||||
void setRenderFirstPerson(bool firstPerson);
|
||||
|
||||
void renderThrustAtVoxel(glm::vec3 thrust);
|
||||
void renderLineToTouchedVoxel();
|
||||
|
||||
void setFrustumOffset(bool frustumOffset);
|
||||
void cycleFrustumRenderMode();
|
||||
|
||||
|
@ -143,10 +146,7 @@ private:
|
|||
void displayStats();
|
||||
|
||||
void renderViewFrustum(ViewFrustum& viewFrustum);
|
||||
|
||||
void renderLineToTouchedVoxel();
|
||||
void renderThrustAtVoxel(glm::vec3 thrust);
|
||||
|
||||
|
||||
void setupPaintingVoxel();
|
||||
void shiftPaintingColor();
|
||||
void maybeEditVoxelUnderCursor();
|
||||
|
|
Loading…
Reference in a new issue