53323279c7
Still need to configure the build
26 lines
No EOL
499 B
Java
26 lines
No EOL
499 B
Java
package mekanism.induction.client.render;
|
|
|
|
import codechicken.lib.vec.Matrix4;
|
|
import codechicken.lib.vec.Transformation;
|
|
import codechicken.lib.vec.VariableTransformation;
|
|
import codechicken.lib.vec.Vector3;
|
|
|
|
public class InvertX extends VariableTransformation
|
|
{
|
|
public InvertX()
|
|
{
|
|
super(new Matrix4(-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1));
|
|
}
|
|
|
|
@Override
|
|
public void apply(Vector3 vec)
|
|
{
|
|
this.mat.apply(vec);
|
|
}
|
|
|
|
@Override
|
|
public Transformation inverse()
|
|
{
|
|
return this;
|
|
}
|
|
} |