diff options
author | Sven Gothel <[email protected]> | 2023-09-23 03:11:57 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-09-23 03:11:57 +0200 |
commit | 6c97c5fa201d221a37773db54994d27e34ba86c3 (patch) | |
tree | 04ead385f859fcf0d3f1d2117dd1dc20b87e7abe /src/graphui/classes/jogamp | |
parent | 0d89f1ebae1a790151551ad9b027105d91972877 (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')
-rw-r--r-- | src/graphui/classes/jogamp/graph/ui/TreeTool.java | 8 |
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; |