From 9232c71cd77413b038849128faeb5ae3e9b9217c Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Fri, 23 Dec 2011 20:07:39 +0000 Subject: [PATCH] Added a Transform(Vector3f translation,Quaternion rotation,Vector3f scale) constructor git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/math/Transform.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/src/core/com/jme3/math/Transform.java b/engine/src/core/com/jme3/math/Transform.java index 60b522371..7ccd84794 100644 --- a/engine/src/core/com/jme3/math/Transform.java +++ b/engine/src/core/com/jme3/math/Transform.java @@ -56,6 +56,11 @@ public final class Transform implements Savable, Cloneable, java.io.Serializable this.translation.set(translation); this.rot.set(rot); } + + public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ + this(translation, rot); + this.scale.set(scale); + } public Transform(Vector3f translation){ this(translation, Quaternion.IDENTITY);