Fixed up rendering of combustion gen and vat.

This commit is contained in:
CrazyPants committed 2014-04-28 23:08:23 +08:00
1 parent e78c2fffe6
commit e5cd70f905
16 files changed
+89 -101

No files matched your search

@@ -2,6 +2,7 @@ package crazypants.render;
import crazypants.vecmath.Vector3d;
import crazypants.vecmath.Vector3f;
import crazypants.vecmath.Vertex;
public class VertexTranslation implements VertexTransform {
@@ -29,6 +30,11 @@ public class VertexTranslation implements VertexTransform {
this(trans.x, trans.y, trans.z);
}
@Override
public void apply(Vertex vertex) {
apply(vertex.xyz);
}
@Override
public void apply(Vector3d vec) {
vec.x += x;