/**
* See {@link #getMatrixForAxisAndRotation(net.minecraft.util.EnumFacing.Axis, boolean, Rotation)}
*/
protected static Matrix4f getMatrixForRotation(Rotation rotation)
{
switch(rotation)
{
default:
case ROTATE_NONE:
return ForgeHooksClient.getMatrix(ModelRotation.X0_Y0);
case ROTATE_90:
return ForgeHooksClient.getMatrix(ModelRotation.X0_Y90);
case ROTATE_180:
return ForgeHooksClient.getMatrix(ModelRotation.X0_Y180);
case ROTATE_270:
return ForgeHooksClient.getMatrix(ModelRotation.X0_Y270);
}
}
ShapeMeshGenerator.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:Hard-Science
作者:
评论列表
文章目录