aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogamp/graph/geom/plane
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-30 06:59:43 +0200
committerSven Gothel <[email protected]>2011-03-30 06:59:43 +0200
commit55356d999638491980a90cb2263b55c5d2e53e91 (patch)
tree711457c8b1bedcf1d71fd0ba0252155b2895ce7f /src/jogamp/graph/geom/plane
parent5f0293b84d0146d9e750ea7e75caaa101ae3b3c3 (diff)
Font Refactoring ; Misc Changes ; Demo/Test Update
Font Refactoring - Notion of distributed FontSet - FontFactory may produce FontSet and/or a Font by absolute ttf file path - Adding support for free Ubuntu fonts - Remove Vertex.Factory dependency for Font creation - Typecast Impl - Fix CmapTable selection - Fix horizontal spacing of space - Misc Changes - HwTextRenderer - Offer reshape for perspective and orthogonal view - Expose PMVMatrix, allowing user to setup their own view math. Demo Update - Dump font set a-zA-Z... - Dump 'lazy dog ..' text - Action: - s: toogle 'font set' - f: toggle fps - v: toggle v-sync - space: toggle font (ubuntu/java) - formated screenshot filename w/ font name Test Update: - add font set iteration
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;