RenderEricssonEngine.java 文件源码

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

项目:AestusCraft 作者:
public RenderEricssonEngine()
{
    setTileEntityRenderer(TileEntityRenderer.instance);

    box = new ModelRenderer(model, 0, 1);
    box.addBox(-8.0f, -8.0f, -8.0f, 16, 4, 16);
    box.rotationPointX = 8.0f;
    box.rotationPointY = 8.0f;
    box.rotationPointZ = 8.0f;

    trunk = new ModelRenderer(model, 1, 1);
    trunk.addBox(-4.0f, -4.0f, -4.0f, 8, 12, 8);
    trunk.rotationPointX = 8.0f;
    trunk.rotationPointY = 8.0f;
    trunk.rotationPointZ = 8.0f;

    movingBox = new ModelRenderer(model, 0, 1);
    movingBox.addBox(-8.0f, -4.0f, -8.0f, 16, 4, 16);
    movingBox.rotationPointX = 8.0f;
    movingBox.rotationPointY = 8.0f;
    movingBox.rotationPointZ = 8.0f;

    chamber = new ModelRenderer(model, 1, 1);
    chamber.addBox(-5.0f, -4.0f, -5.0f, 10, 2, 10);
    chamber.rotationPointX = 8.0f;
    chamber.rotationPointY = 8.0f;
    chamber.rotationPointZ = 8.0f;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号