Package cofh.repack.codechicken.lib.vec

Examples of cofh.repack.codechicken.lib.vec.Quat.rotate()


    verts[10] = new Vector3(-phi, 0, 1);
    verts[11] = new Vector3(-phi, 0, -1);

    Quat quat = Quat.aroundAxis(0, 0, 1, Math.atan(1 / phi));
    for (Vector3 vec : verts) {
      quat.rotate(vec);
    }

    icosahedron4 = CCModel.newModel(4, 60);
    icosahedron7 = CCModel.newModel(7, 80);
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.