Examples of calculateSomething()


Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         GL11.glRotatef(f7 * 2.0F, 1.0F, 0.0F, 0.0F);
         float f8 = -30F;
         float f9 = 22F;
         float f10 = 0.0F;
         float f11 = 1.5F;
         double ad[] = entitydragon.calculateSomething(6, field_40317_s);
         float f12 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] - entitydragon.calculateSomething(10, field_40317_s)[0]);
         float f13 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] + (double)(f12 / 2.0F));
         f8 += 2.0F;
         float f14 = 0.0F;
         float f15 = f6 * 3.141593F * 2.0F;
 
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         float f8 = -30F;
         float f9 = 22F;
         float f10 = 0.0F;
         float f11 = 1.5F;
         double ad[] = entitydragon.calculateSomething(6, field_40317_s);
         float f12 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] - entitydragon.calculateSomething(10, field_40317_s)[0]);
         float f13 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] + (double)(f12 / 2.0F));
         f8 += 2.0F;
         float f14 = 0.0F;
         float f15 = f6 * 3.141593F * 2.0F;
         f8 = 20F;
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         float f8 = -30F;
         float f9 = 22F;
         float f10 = 0.0F;
         float f11 = 1.5F;
         double ad[] = entitydragon.calculateSomething(6, field_40317_s);
         float f12 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] - entitydragon.calculateSomething(10, field_40317_s)[0]);
         float f13 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] + (double)(f12 / 2.0F));
         f8 += 2.0F;
         float f14 = 0.0F;
         float f15 = f6 * 3.141593F * 2.0F;
         f8 = 20F;
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         float f9 = 22F;
         float f10 = 0.0F;
         float f11 = 1.5F;
         double ad[] = entitydragon.calculateSomething(6, field_40317_s);
         float f12 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] - entitydragon.calculateSomething(10, field_40317_s)[0]);
         float f13 = func_40307_a(entitydragon.calculateSomething(5, field_40317_s)[0] + (double)(f12 / 2.0F));
         f8 += 2.0F;
         float f14 = 0.0F;
         float f15 = f6 * 3.141593F * 2.0F;
         f8 = 20F;
         f9 = -12F;
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         float f15 = f6 * 3.141593F * 2.0F;
         f8 = 20F;
         f9 = -12F;
         for(int i = 0; i < 5; i++)
         {
            double ad3[] = entitydragon.calculateSomething(5 - i, field_40317_s);
            f14 = (float)Math.cos((float)i * 0.45F + f15) * 0.15F;
            modelNeck.rotateAngleY = ((func_40307_a(ad3[0] - ad[0]) * 3.141593F) / 180F) * f11;
            modelNeck.rotateAngleX = f14 + (((float)(ad3[1] - ad[1]) * 3.141593F) / 180F) * f11 * 5F;
            modelNeck.rotateAngleZ = ((-func_40307_a(ad3[0] - (double)f13) * 3.141593F) / 180F) * f11;
            modelNeck.rotationPointY = f8;
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         }
     
         modelHead.rotationPointY = f8;
         modelHead.rotationPointZ = f9;
         modelHead.rotationPointX = f10;
         double ad1[] = entitydragon.calculateSomething(0, field_40317_s);
         modelHead.rotateAngleY = ((func_40307_a(ad1[0] - ad[0]) * 3.141593F) / 180F) * 1.0F;
         modelHead.rotateAngleZ = ((-func_40307_a(ad1[0] - (double)f13) * 3.141593F) / 180F) * 1.0F;
         modelHead.render(f5);
         GL11.glPushMatrix();
         GL11.glTranslatef(0.0F, 1.0F, 0.0F);
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         f14 = -(float)Math.sin(f6 * 3.141593F * 2.0F) * 0.0F;
         f15 = f6 * 3.141593F * 2.0F;
         f8 = 10F;
         f9 = 60F;
         f10 = 0.0F;
         ad = entitydragon.calculateSomething(11, field_40317_s);
         for(int k = 0; k < 12; k++)
         {
            double ad2[] = entitydragon.calculateSomething(12 + k, field_40317_s);
            f14 = (float)((double)f14 + Math.sin((float)k * 0.45F + f15) * 0.05000000074505806D);
            modelNeck.rotateAngleY = ((func_40307_a(ad2[0] - ad[0]) * f11 + 180F) * 3.141593F) / 180F;
View Full Code Here

Examples of me.ashtheking.dragons.mob.Dragon.calculateSomething()

         f9 = 60F;
         f10 = 0.0F;
         ad = entitydragon.calculateSomething(11, field_40317_s);
         for(int k = 0; k < 12; k++)
         {
            double ad2[] = entitydragon.calculateSomething(12 + k, field_40317_s);
            f14 = (float)((double)f14 + Math.sin((float)k * 0.45F + f15) * 0.05000000074505806D);
            modelNeck.rotateAngleY = ((func_40307_a(ad2[0] - ad[0]) * f11 + 180F) * 3.141593F) / 180F;
            modelNeck.rotateAngleX = f14 + (((float)(ad2[1] - ad[1]) * 3.141593F) / 180F) * f11 * 5F;
            modelNeck.rotateAngleZ = ((func_40307_a(ad2[0] - (double)f13) * 3.141593F) / 180F) * f11;
            modelNeck.rotationPointY = f8;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.