There exists old getClassTag() method.
[patch]
Index: src/core/com/jme3/animation/PoseTrack.java
===================================================================
— src/core/com/jme3/animation/PoseTrack.java (revision 6511)
+++ src/core/com/jme3/animation/PoseTrack.java (working copy)
@@ -77,11 +77,6 @@
poses = (Pose[]) in.readSavableArray("poses", null);
weights = in.readFloatArray("weights", null);
}
-
-
public Class getClassTag() {<br />
-
return PoseFrame.class;<br />
-
}<br />
-
}
public PoseTrack(int targetMeshIndex, float[] times, PoseFrame[] frames){
@@ -137,10 +132,4 @@
frames = (PoseFrame[]) in.readSavableArray("frames", null);
times = in.readFloatArray("times", null);
}
-
-
@Override
- public Class getClassTag() {
-
return PoseTrack.class;<br />
- }
-
}
Index: src/core/com/jme3/animation/Track.java
===================================================================
— src/core/com/jme3/animation/Track.java (revision 6511)
+++ src/core/com/jme3/animation/Track.java (working copy)
@@ -66,10 +66,4 @@
public void read(JmeImporter im) throws IOException{
targetMeshIndex = im.getCapsule(this).readInt("meshIndex", 0);
}
-
- public Class getClassTag(){
-
return Track.class;<br />
- }
-
-
}
Index: src/core/com/jme3/animation/Pose.java
===================================================================
— src/core/com/jme3/animation/Pose.java (revision 6511)
+++ src/core/com/jme3/animation/Pose.java (working copy)
@@ -110,10 +110,4 @@
offsets = (Vector3f[]) in.readSavableArray("offsets", null);
indices = in.readIntArray("indices", null);
}
-
- public Class getClassTag() {
-
return Pose.class;<br />
- }
-
-
}
Index: src/core/com/jme3/math/Matrix3f.java
===================================================================
— src/core/com/jme3/math/Matrix3f.java (revision 6511)
+++ src/core/com/jme3/math/Matrix3f.java (working copy)
@@ -1160,10 +1160,6 @@
m22 = cap.readFloat("m22", 1);
}
- public Class<? extends Matrix3f> getClassTag() {
-
return this.getClass();<br />
- }
-
/**
- A function for creating a rotation matrix that rotates a vector called
- "start" into another vector called "end".
Index: src/core/com/jme3/math/Ring.java
===================================================================
— src/core/com/jme3/math/Ring.java (revision 6511)
+++ src/core/com/jme3/math/Ring.java (working copy)
@@ -223,10 +223,6 @@
outerRadius = capsule.readFloat("outerRadius", 1f);
}
- public Class<? extends Ring> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Ring clone() {
try {
Index: src/core/com/jme3/math/Line.java
===================================================================
— src/core/com/jme3/math/Line.java (revision 6511)
+++ src/core/com/jme3/math/Line.java (working copy)
@@ -231,10 +231,6 @@
direction = (Vector3f)capsule.readSavable("direction", Vector3f.ZERO.clone());
}
- public Class<? extends Line> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Line clone() {
try {
Index: src/core/com/jme3/math/LineSegment.java
===================================================================
— src/core/com/jme3/math/LineSegment.java (revision 6511)
+++ src/core/com/jme3/math/LineSegment.java (working copy)
@@ -596,10 +596,6 @@
extent = capsule.readFloat("extent", 0);
}
- public Class<? extends LineSegment> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public LineSegment clone() {
try {
Index: src/core/com/jme3/math/Transform.java
===================================================================
— src/core/com/jme3/math/Transform.java (revision 6511)
+++ src/core/com/jme3/math/Transform.java (working copy)
@@ -285,10 +285,6 @@
scale = (Vector3f)capsule.readSavable("scale", Vector3f.UNIT_XYZ.clone());
}
- public Class<? extends Transform> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Transform clone() {
try {
Index: src/core/com/jme3/math/Ray.java
===================================================================
— src/core/com/jme3/math/Ray.java (revision 6511)
+++ src/core/com/jme3/math/Ray.java (working copy)
@@ -514,10 +514,6 @@
direction = (Vector3f)capsule.readSavable("direction", Vector3f.ZERO.clone());
}
- public Class<? extends Ray> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Ray clone() {
try {
Index: src/core/com/jme3/math/Triangle.java
===================================================================
— src/core/com/jme3/math/Triangle.java (revision 6511)
+++ src/core/com/jme3/math/Triangle.java (working copy)
@@ -268,10 +268,6 @@
pointc = (Vector3f)e.getCapsule(this).readSavable("pointc", Vector3f.ZERO.clone());
}
- public Class<? extends Triangle> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Triangle clone() {
try {
Index: src/core/com/jme3/math/Matrix4f.java
===================================================================
— src/core/com/jme3/math/Matrix4f.java (revision 6511)
+++ src/core/com/jme3/math/Matrix4f.java (working copy)
@@ -1898,10 +1898,6 @@
m33 = cap.readFloat("m33", 1);
}
- public Class<? extends Matrix4f> getClassTag() {
-
return this.getClass();<br />
- }
-
/**
-
@return true if this matrix is identity
*/
Index: src/core/com/jme3/math/Vector2f.java
===================================================================
— src/core/com/jme3/math/Vector2f.java (revision 6511)
+++ src/core/com/jme3/math/Vector2f.java (working copy)
@@ -749,10 +749,6 @@
y = capsule.readFloat("y", 0);
}
- public Class<? extends Vector2f> getClassTag() {
-
return this.getClass();<br />
- }
-
public void rotateAroundOrigin(float angle, boolean cw) {
if (cw)
angle = -angle;
Index: src/core/com/jme3/math/Rectangle.java
===================================================================
— src/core/com/jme3/math/Rectangle.java (revision 6511)
+++ src/core/com/jme3/math/Rectangle.java (working copy)
@@ -186,10 +186,6 @@
c = (Vector3f) capsule.readSavable("c", Vector3f.ZERO.clone());
}
- public Class<? extends Rectangle> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Rectangle clone() {
try {
Index: src/core/com/jme3/math/Quaternion.java
===================================================================
— src/core/com/jme3/math/Quaternion.java (revision 6511)
+++ src/core/com/jme3/math/Quaternion.java (working copy)
@@ -1254,10 +1254,6 @@
w = cap.readFloat("w", 1);
}
-// public Class<? extends Quaternion> getClassTag() {
-// return this.getClass();
-// }
-
/**
-
@return A new quaternion that describes a rotation that would point you
-
in the exact opposite direction of this Quaternion.<br />
Index: src/core/com/jme3/math/Plane.java
===================================================================
— src/core/com/jme3/math/Plane.java (revision 6511)
+++ src/core/com/jme3/math/Plane.java (working copy)
@@ -281,10 +281,6 @@
constant = capsule.readFloat("constant", 0);
}
- public Class<? extends Plane> getClassTag() {
-
return this.getClass();<br />
- }
-
@Override
public Plane clone() {
try {
[/patch]