summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-03-15 07:02:35 +0100
committerSven Gothel <[email protected]>2014-03-15 07:02:35 +0100
commit0b61e9a2641e38475a330303e49f6becf99158e1 (patch)
tree4d4bd7ead74950ce7df84d184519873bd83bf660 /src/test/com/jogamp
parente4641e304fbc64a5d185a39c6ca6357cc678e013 (diff)
Bug 801: Remove Vertex.Factory from AffineTransform ; Add AABBox tranformed resize.
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java
index 4d79e5ad7..99ac2bd51 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java
@@ -106,7 +106,7 @@ public class Label extends UIShape {
@Override
protected void createShape(GL2ES2 gl, RegionRenderer renderer) {
- TextRegionUtil.processString(shapeVisitor, new AffineTransform(renderer.getRenderState().getVertexFactory()), font, pixelSize, text);
+ TextRegionUtil.processString(shapeVisitor, new AffineTransform(), font, pixelSize, text);
}
@Override
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java
index 768c95765..0768601bf 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java
@@ -227,12 +227,12 @@ public abstract class UIShape {
System.err.printf("UIShape.addToRegion: locTranslate %f x %f, locScale %f x %f%n",
ltranslate[0], ltranslate[1], lscale[0], lscale[1]);
if( hasLocTrans ) {
- t = AffineTransform.getTranslateInstance(vertexFactory, ltranslate[0], ltranslate[1]);
+ t = AffineTransform.getTranslateInstance(ltranslate[0], ltranslate[1]);
if( hasLocScale ) {
t.scale(lscale[0], lscale[1]);
}
} else if( hasLocScale ) {
- t = AffineTransform.getScaleInstance(vertexFactory, lscale[0], lscale[1]);
+ t = AffineTransform.getScaleInstance(lscale[0], lscale[1]);
} else {
t = null; // unreachable!
}