aboutsummaryrefslogtreecommitdiffstats
path: root/src/demos
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-04-25 03:27:51 +0200
committerSven Göthel <[email protected]>2024-04-25 03:27:51 +0200
commitdd67c91abd2e5f549fe35f590f37c5d6c732a100 (patch)
treeff2d73a293b4c285a51292e05797e4194174b95f /src/demos
parent78f6de75d2645a8cc0c6df0f1f2d01d81645f3de (diff)
Math: Align Frustum/Matrix dependency w/ native jaulib
Diffstat (limited to 'src/demos')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeClippingDemo01.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeClippingDemo01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeClippingDemo01.java
index 9df5c1591..69751c458 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeClippingDemo01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeClippingDemo01.java
@@ -161,7 +161,7 @@ public class UIShapeClippingDemo01 {
final boolean isOutMv = frustumCbMv.isOutside( shapedMv );
- final Frustum frustumPMv = pmv.getPMv().updateFrustumPlanes(new Frustum());
+ final Frustum frustumPMv = new Frustum().setFromMat(pmv.getPMv());
final boolean isOutPMv = frustumPMv.isOutside( shapeBox );
System.err.println("ClipBox "+box);