aboutsummaryrefslogtreecommitdiffstats
path: root/src/ru/olamedia/camera/MatrixCamera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ru/olamedia/camera/MatrixCamera.java')
-rw-r--r--src/ru/olamedia/camera/MatrixCamera.java20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/ru/olamedia/camera/MatrixCamera.java b/src/ru/olamedia/camera/MatrixCamera.java
index de37fc8..2515daf 100644
--- a/src/ru/olamedia/camera/MatrixCamera.java
+++ b/src/ru/olamedia/camera/MatrixCamera.java
@@ -13,8 +13,6 @@ import static org.openmali.FastMath.*;
import ru.olamedia.olacraft.game.Game;
import ru.olamedia.input.Keyboard;
import ru.olamedia.math.Frustum;
-import ru.olamedia.olacraft.render.jogl.PlaneRenderer;
-import ru.olamedia.olacraft.render.jogl.VectorRenderer;
import com.jogamp.newt.event.KeyEvent;
@@ -161,16 +159,16 @@ public class MatrixCamera {
loadProjectionMatrix(drawable);
loadViewMatrix(drawable);
- gl.glColor3f(1, 0, 0);
- PlaneRenderer.render(frustum.leftPlane, drawable);
- gl.glColor3f(1, 1, 0);
- PlaneRenderer.render(frustum.rightPlane, drawable);
- gl.glColor3f(1, 0, 1);
- PlaneRenderer.render(frustum.topPlane, drawable);
- gl.glColor3f(1, 1, 1);
- PlaneRenderer.render(frustum.bottomPlane, drawable);
+ // gl.glColor3f(1, 0, 0);
+ // PlaneRenderer.render(frustum.leftPlane, drawable);
+ // gl.glColor3f(1, 1, 0);
+ // PlaneRenderer.render(frustum.rightPlane, drawable);
+ // gl.glColor3f(1, 0, 1);
+ // PlaneRenderer.render(frustum.topPlane, drawable);
+ // gl.glColor3f(1, 1, 1);
+ // PlaneRenderer.render(frustum.bottomPlane, drawable);
- VectorRenderer.render(nearc, frustum.leftPlane.n, drawable);
+ // VectorRenderer.render(nearc, frustum.leftPlane.n, drawable);
}
private void loadViewMatrix(GLAutoDrawable drawable) {