Improved transformation compacting.

This commit is contained in:
Chicken Bones committed 2013-09-05 17:41:31 +10:00
1 parent 5c5384f79c
commit ea515682c1
6 files changed
+56 -34

No files matched your search

+8
View File
@@ -52,6 +52,14 @@ public abstract class Transformation
return null;
}
/**
* Returns true if this transformation is redundant, eg. Scale(1, 1, 1), Translation(0, 0, 0) or Rotation(0, a, b, c)
*/
public boolean isRedundant()
{
return false;
}
@SideOnly(Side.CLIENT)
public abstract void glApply();