aboutsummaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-12 05:30:27 +0100
committerSven Göthel <[email protected]>2024-01-12 05:30:27 +0100
commit9c4e97a896e4ce2491ac38bfbf0c21a527548cb3 (patch)
tree9c0d4e6ed680b5f2dd7f40a9380c118487447c67 /src/demos/com/jogamp/opengl
parent76a74ca56e2708c967b3e5aafaa24eb9603bbb99 (diff)
AABBox resize{Width, Height}(..): Positive argument shall always denote expansion
Diffstat (limited to 'src/demos/com/jogamp/opengl')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo03.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo03.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo03.java
index e2680f976..055348d99 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo03.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo03.java
@@ -322,7 +322,7 @@ public class UISceneDemo03 {
fontScale2 = g_w / fbox.getWidth();
System.err.println("FontScale2: " + fontScale2 + " = " + g_w + " / " + fbox.getWidth());
}
- final AABBox clippedBox = new AABBox(animBox).resizeWidth(sceneBoxFrameWidth, -sceneBoxFrameWidth);
+ final AABBox clippedBox = new AABBox(animBox).resizeWidth(-sceneBoxFrameWidth, -sceneBoxFrameWidth);
y_pos[0] = clippedBox.getMaxY();
// AnimGroup.Set 1:
// Circular short scrolling text (right to left) without rotation, no acceleration