aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/Group.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-23 03:11:57 +0200
committerSven Gothel <[email protected]>2023-09-23 03:11:57 +0200
commit6c97c5fa201d221a37773db54994d27e34ba86c3 (patch)
tree04ead385f859fcf0d3f1d2117dd1dc20b87e7abe /src/graphui/classes/com/jogamp/graph/ui/Group.java
parent0d89f1ebae1a790151551ad9b027105d91972877 (diff)
Bug 1452: GraphUI Shape: Rename setMvTransform(..) -> setTransformMv(..), aligning w/ PMVMatrix4f naming ..
Original name was simply setTransform(..), so now let's keep using the suffix denominating the matrix while keep the main subject/verb upfront. Was an off reading ..
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/Group.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Group.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Group.java b/src/graphui/classes/com/jogamp/graph/ui/Group.java
index 3814eaa82..17820702b 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/Group.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/Group.java
@@ -218,7 +218,7 @@ public class Group extends Shape implements Container {
final Shape shape = (Shape) shapesS[i];
if( shape.isEnabled() ) {
pmv.pushMv();
- shape.setMvTransform(pmv);
+ shape.setTransformMv(pmv);
if( !doFrustumCulling || !pmv.getFrustum().isAABBoxOutside( shape.getBounds() ) ) {
if( null == rgba ) {
@@ -285,7 +285,7 @@ public class Group extends Shape implements Container {
s.validate(glp);
}
pmv.pushMv();
- s.setMvTransform(pmv);
+ s.setTransformMv(pmv);
s.getBounds().transform(pmv.getMv(), tsbox);
pmv.popMv();
box.resize(tsbox);
@@ -333,7 +333,7 @@ public class Group extends Shape implements Container {
@Override
public AABBox getBounds(final PMVMatrix4f pmv, final Shape shape) {
pmv.reset();
- setMvTransform(pmv);
+ setTransformMv(pmv);
final AABBox res = new AABBox();
if( null == shape ) {
return res;