diff options
author | Sven Göthel <[email protected]> | 2024-04-25 03:27:51 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-04-25 03:27:51 +0200 |
commit | dd67c91abd2e5f549fe35f590f37c5d6c732a100 (patch) | |
tree | ff2d73a293b4c285a51292e05797e4194174b95f /src/demos | |
parent | 78f6de75d2645a8cc0c6df0f1f2d01d81645f3de (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.java | 2 |
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); |