Fixed REI integration
This commit is contained in:
parent
80918ea7e4
commit
c623da26ed
6 changed files with 4 additions and 10 deletions
|
@ -44,8 +44,7 @@ public class EternalCrystalRenderer {
|
|||
matrices.popPose();
|
||||
}
|
||||
|
||||
public static float[] colors(int age) {
|
||||
double delta = age * 0.01;
|
||||
public static float[] colors(float delta) {
|
||||
int index = MHelper.floor(delta);
|
||||
int index2 = (index + 1) & 3;
|
||||
delta -= index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue