AdvRouterModel.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:Toms-Mod 作者:
private static Matrix4f getMatrix(EnumFacing facing) {
    switch (facing) {
    case DOWN:
        return ModelRotation.X180_Y0.getMatrix();
    case UP:
        return ModelRotation.X0_Y0.getMatrix();
    case NORTH:
        return ModelRotation.X90_Y0.getMatrix();
    case SOUTH:
        return ModelRotation.X90_Y180.getMatrix();
    case WEST:
        return ModelRotation.X90_Y270.getMatrix();
    case EAST:
        return ModelRotation.X90_Y90.getMatrix();
    default:
        return new Matrix4f();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号