Package cofh.repack.codechicken.lib.vec

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


   *            The point to rotate around
   * @return A copy of this model rotated to the appropriate side
   */
  public CCModel sidedCopy(int side1, int side2, Vector3 point) {

    return copy().apply(new TransformationList(sideRotations[side1].inverse(), sideRotations[side2]).at(point));
  }
View Full Code Here


  /**
   * Generates a sided copy of verts into this model
   */
  public CCModel generateSidedPart(int side1, int side2, Vector3 point, int srcpos, int destpos, int length) {

    return apply(new TransformationList(sideRotations[side1].inverse(), sideRotations[side2]).at(point), srcpos, destpos, length);
  }
View Full Code Here

TOP

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

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.