mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
Fixed up combustion gen rendering.
This commit is contained in:
1 parent
1db0bd8f5b
commit
e78c2fffe6
7 files changed
+155
-126
No files matched your search
@@ -88,6 +88,12 @@ public class Vector3d {
|
||||
z *= s;
|
||||
}
|
||||
|
||||
public void scale(double sx, double sy, double sz) {
|
||||
x *= sx;
|
||||
y *= sy;
|
||||
z *= sz;
|
||||
}
|
||||
|
||||
public void normalize() {
|
||||
double scale = 1.0 / Math.sqrt(x * x + y * y + z * z);
|
||||
scale(scale);
|
||||
@@ -134,4 +140,6 @@ public class Vector3d {
|
||||
z = Math.abs(z);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user