Michael Ludwig avatar Michael Ludwig committed c760a4c

Remove references to a public, mutable identity transform.

Comments (0)

Files changed (2)

src/com/ferox/core/scene/SpatialNode.java

 	public static final int LOCK_TRANSFORM_BIT = 1 << 0;
 	public static final int LOCK_BOUNDS_BIT = 1 << 1;
 	
-	public static final Transform identity = Transform.IDENTITY;
-
+	private static final Transform identity = new Transform();
 	private static final Transform temp = new Transform();
 	
 	protected SpatialBranch parent;

src/com/ferox/core/scene/Transform.java

 import com.ferox.core.util.io.OutputChunk;
 
 public class Transform implements Chunkable {
-	public static final Transform IDENTITY = new Transform();
-	
+	private static final Transform IDENTITY = new Transform();
 	private static final Vector3f temp = new Vector3f();
 	
 	private final Matrix3f rot;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.