mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
Fixed up rendering of combustion gen and vat.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user