mirror of
https://github.com/overte-org/overte.git
synced 2025-06-22 13:41:49 +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 intensity = 0.5f;
|
||||||
float intensityIncrement = 0.1f;
|
float intensityIncrement = 0.1f;
|
||||||
const float MAX_INTENSITY = 1.0f;
|
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
|
// Enable to show line from me to the voxel I am touching
|
||||||
//renderLineToTouchedVoxel();
|
//renderLineToTouchedVoxel();
|
||||||
renderThrustAtVoxel(_voxelThrust);
|
//renderThrustAtVoxel(_voxelThrust);
|
||||||
|
|
||||||
// draw a red sphere
|
// draw a red sphere
|
||||||
float sphereRadius = 0.25f;
|
float sphereRadius = 0.25f;
|
||||||
|
|
|
@ -95,6 +95,9 @@ private slots:
|
||||||
|
|
||||||
void setRenderFirstPerson(bool firstPerson);
|
void setRenderFirstPerson(bool firstPerson);
|
||||||
|
|
||||||
|
void renderThrustAtVoxel(glm::vec3 thrust);
|
||||||
|
void renderLineToTouchedVoxel();
|
||||||
|
|
||||||
void setFrustumOffset(bool frustumOffset);
|
void setFrustumOffset(bool frustumOffset);
|
||||||
void cycleFrustumRenderMode();
|
void cycleFrustumRenderMode();
|
||||||
|
|
||||||
|
@ -144,9 +147,6 @@ private:
|
||||||
|
|
||||||
void renderViewFrustum(ViewFrustum& viewFrustum);
|
void renderViewFrustum(ViewFrustum& viewFrustum);
|
||||||
|
|
||||||
void renderLineToTouchedVoxel();
|
|
||||||
void renderThrustAtVoxel(glm::vec3 thrust);
|
|
||||||
|
|
||||||
void setupPaintingVoxel();
|
void setupPaintingVoxel();
|
||||||
void shiftPaintingColor();
|
void shiftPaintingColor();
|
||||||
void maybeEditVoxelUnderCursor();
|
void maybeEditVoxelUnderCursor();
|
||||||
|
|
Loading…
Reference in a new issue