public class MatrixUtil
extends java.lang.Object
Constructor and Description |
---|
MatrixUtil() |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.math.AxisAlignedBB |
multiply(net.minecraft.util.math.AxisAlignedBB box,
javax.vecmath.Matrix4f matrix) |
static net.minecraft.util.math.AxisAlignedBB[] |
multiplyAll(net.minecraft.util.math.AxisAlignedBB[] boxes,
javax.vecmath.Matrix4f matrix) |
static javax.vecmath.Matrix4f |
rotateTowardsFace(net.minecraft.util.EnumFacing face)
Rotates towards the given face, assuming what you want to rotate from is WEST.
|
static javax.vecmath.Matrix4f |
rotateTowardsFace(net.minecraft.util.EnumFacing from,
net.minecraft.util.EnumFacing to)
Rotates towards the given face, from the specified face
|
public static javax.vecmath.Matrix4f rotateTowardsFace(net.minecraft.util.EnumFacing face)
public static javax.vecmath.Matrix4f rotateTowardsFace(net.minecraft.util.EnumFacing from, net.minecraft.util.EnumFacing to)
public static net.minecraft.util.math.AxisAlignedBB multiply(net.minecraft.util.math.AxisAlignedBB box, javax.vecmath.Matrix4f matrix)
public static net.minecraft.util.math.AxisAlignedBB[] multiplyAll(net.minecraft.util.math.AxisAlignedBB[] boxes, javax.vecmath.Matrix4f matrix)