aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/jogamp/graph
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/jogamp/graph
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/jogamp/graph')
-rw-r--r--src/graphui/classes/jogamp/graph/ui/TreeTool.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graphui/classes/jogamp/graph/ui/TreeTool.java b/src/graphui/classes/jogamp/graph/ui/TreeTool.java
index d43c6c7f7..9591f0e85 100644
--- a/src/graphui/classes/jogamp/graph/ui/TreeTool.java
+++ b/src/graphui/classes/jogamp/graph/ui/TreeTool.java
@@ -53,7 +53,7 @@ public class TreeTool {
final Shape s = shapes.get(i);
if( s.equals(shape) ) {
pmv.pushMv();
- s.setMvTransform(pmv);
+ s.setTransformMv(pmv);
action.run();
pmv.popMv();
return true;
@@ -63,7 +63,7 @@ public class TreeTool {
continue;
}
pmv.pushMv();
- s.setMvTransform(pmv);
+ s.setTransformMv(pmv);
final boolean res = c.forOne(pmv, shape, action);
pmv.popMv();
if( !res ) { throw new InternalError("Not found "+shape+" in "+c+", but contained"); }
@@ -103,7 +103,7 @@ public class TreeTool {
for(int i=0; i<shapes.size(); ++i) {
final Shape s = shapes.get(i);
pmv.pushMv();
- s.setMvTransform(pmv);
+ s.setTransformMv(pmv);
boolean res = v.visit(s, pmv);
if( !res && s instanceof Container ) {
final Container c = (Container)s;
@@ -134,7 +134,7 @@ public class TreeTool {
for(int i=0; i<shapesS.length; ++i) {
final Shape s = (Shape)shapesS[i];
pmv.pushMv();
- s.setMvTransform(pmv);
+ s.setTransformMv(pmv);
boolean res = v.visit(s, pmv);
if( !res && s instanceof Container ) {
final Container c = (Container)s;