Package com.flansmod.client.tmt

Examples of com.flansmod.client.tmt.Shape2D


   
    bodyModel[0] = new ModelRendererTurbo(this, 0, 0, textureX, textureY);
    bodyModel[0].addBox(-12, 29, -12, 16, 19, 24);
   
    bodyModel[1] = new ModelRendererTurbo(this, 88, 0, textureX, textureY);
    bodyModel[1].addShape3D(0, 21, 12, new Shape2D(new Coord2D[] { new Coord2D(4, 8, 0, 0), new Coord2D(12, 8, 8, 0), new Coord2D(12, 18, 8, 10), new Coord2D(4, 27, 0, 19) }), 24, 8, 19, 49, 24, ModelRendererTurbo.MR_BACK, new float[] { 19, 12, 10, 8 });
   
    bodyModel[2] = new ModelRendererTurbo(this, 139, 0, textureX, textureY);
    bodyModel[2].addShape3D(0, 21, 12, new Shape2D(new Coord2D[] { new Coord2D(-12, 0, 0, 0), new Coord2D(8, 0, 20, 0), new Coord2D(12, 8, 24, 8), new Coord2D(-12, 8, 0, 8) }), 24, 24, 8, 61, 24, ModelRendererTurbo.MR_BACK, new float[] { 8, 24, 9, 20 });
   
    //Body inside
    bodyModel[3] = new ModelRendererTurbo(this, 118, 34, textureX, textureY);
    bodyModel[3].flip = true;
    bodyModel[3].addBox(-12, 29, -11.5F, 16, 19, 23);
   
    bodyModel[4] = new ModelRendererTurbo(this, 203, 0, textureX, textureY);
    bodyModel[4].addShape3D(0, 21, 11.5F, new Shape2D(new Coord2D[] { new Coord2D(4, 8, 0, 0), new Coord2D(4, 27, 0, 19), new Coord2D(12, 18, 8, 10), new Coord2D(12, 8, 8, 0) }), 23, 8, 19, 49, 24, ModelRendererTurbo.MR_BACK, new float[] { 8, 10, 12, 19 });
   
    bodyModel[5] = new ModelRendererTurbo(this, 0, 52, textureX, textureY);
    bodyModel[5].addShape3D(0, 21, 11.5F, new Shape2D(new Coord2D[] { new Coord2D(-12, 2, 0, 0)new Coord2D(-12, 8, 0, 6), new Coord2D(12, 8, 24, 6), new Coord2D(9, 2, 21, 0) }), 23, 24, 6, 61, 24, ModelRendererTurbo.MR_BACK, new float[] { 20, 9, 24, 8 });

    bodyModel[6] = new ModelRendererTurbo(this, 85, 82, textureX, textureY);
    bodyModel[6].addBox(6, 21, -5, 2, 8, 2);
   
    bodyModel[7] = new ModelRendererTurbo(this, 85, 82, textureX, textureY);
View Full Code Here


    registerGunModel("Tail", tailGunModel);
     
    //Underside
    bodyModel[13] = new ModelRendererTurbo(this,52, 362, textureX, textureY);
    bodyModel[13].addShape3D(128, -65, -15,
    new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(160, 16, 160, 0), new Coord2D(160, 17, 160, 1), new Coord2D(0, 1, 0, 1) } ), 30, 160, 1, 322, 30, ModelRendererTurbo.MR_FRONT, new float[] { 1, 160, 1, 160 });
    //bodyModel[13].setPosition(0F, -52F, 0F);
    bodyModel[13].rotateAngleX = (float)Math.PI;
   
    bodyModel[14] = new ModelRendererTurbo(this,52, 345, textureX, textureY);
    bodyModel[14].addShape3D(128, -64, -16,
    new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(160, 0, 160, 0), new Coord2D(160, 16, 160, 16) } ), 1, 160, 16, 336, 1, ModelRendererTurbo.MR_FRONT, new float[] { 160, 16, 160 });
    //bodyModel[14].setPosition(0F, -52F, 0F);
    bodyModel[14].rotateAngleX = (float)Math.PI;

    bodyModel[15] = new ModelRendererTurbo(this,52, 394, textureX, textureY);
    bodyModel[15].addShape3D(128, -64, 15,
    new Shape2D(new Coord2D[] { new Coord2D(0, 0, 0, 0), new Coord2D(160, 0, 160, 0), new Coord2D(160, 16, 160, 16) } ), 1, 160, 16, 336, 1, ModelRendererTurbo.MR_FRONT, new float[] { 160, 16, 160 });
    //bodyModel[15].setPosition(0F, -52F, 0F);
    bodyModel[15].rotateAngleX = (float)Math.PI;
   
    //Tail (8 / 9)
    tailModel = new ModelRendererTurbo[7];
View Full Code Here

TOP

Related Classes of com.flansmod.client.tmt.Shape2D

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.