25 lines
661 B
Java
25 lines
661 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* org.joml.Vector3f
|
|
*/
|
|
package net.minecraft.client.animation;
|
|
|
|
import org.joml.Vector3f;
|
|
|
|
public class KeyframeAnimations {
|
|
public static Vector3f posVec(float x, float y, float z) {
|
|
return new Vector3f(x, -y, z);
|
|
}
|
|
|
|
public static Vector3f degreeVec(float x, float y, float z) {
|
|
return new Vector3f(x * ((float)Math.PI / 180), y * ((float)Math.PI / 180), z * ((float)Math.PI / 180));
|
|
}
|
|
|
|
public static Vector3f scaleVec(double x, double y, double z) {
|
|
return new Vector3f((float)(x - 1.0), (float)(y - 1.0), (float)(z - 1.0));
|
|
}
|
|
}
|
|
|