Examples of rotateGlobalYaw()


Examples of com.flansmod.common.RotatedAxes.rotateGlobalYaw()

   
    Vector3f armVector = new Vector3f(mechaType.armLength, 0F, 0F);
    Vector3f gunVector = new Vector3f(mechaType.armLength + 1.2F * mechaType.heldItemScale, 0.5F * mechaType.heldItemScale, 0F);
    Vector3f armOrigin = left ?  mechaType.leftArmOrigin : mechaType.rightArmOrigin;
   
    a.rotateGlobalYaw(axes.getYaw());
    armOrigin = a.findLocalVectorGlobally(armOrigin);
   
    a.rotateLocalPitch(-seats[0].looking.getPitch());
    gunVector = a.findLocalVectorGlobally(gunVector);
    armVector = a.findLocalVectorGlobally(armVector);
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.