summaryrefslogtreecommitdiffstats
path: root/src/jogamp/graph/geom/plane
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogamp/graph/geom/plane')
-rw-r--r--src/jogamp/graph/geom/plane/AffineTransform.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jogamp/graph/geom/plane/AffineTransform.java b/src/jogamp/graph/geom/plane/AffineTransform.java
index de13ff9de..2ba9f8d06 100644
--- a/src/jogamp/graph/geom/plane/AffineTransform.java
+++ b/src/jogamp/graph/geom/plane/AffineTransform.java
@@ -72,6 +72,13 @@ public class AffineTransform implements Cloneable, Serializable {
*/
transient int type;
+ public AffineTransform() {
+ pointFactory = null;
+ type = TYPE_IDENTITY;
+ m00 = m11 = 1.0f;
+ m10 = m01 = m02 = m12 = 0.0f;
+ }
+
public AffineTransform(Factory<? extends Vertex> factory) {
pointFactory = factory;
type = TYPE_IDENTITY;