Package cofh.repack.codechicken.lib.vec

Examples of cofh.repack.codechicken.lib.vec.Quat


    verts[8] = new Vector3(phi, 0, -1);
    verts[9] = new Vector3(phi, 0, 1);
    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

Related Classes of cofh.repack.codechicken.lib.vec.Quat

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.