Examples of PaddedCuboid


Examples of Hexel.things.types.PaddedCuboid

      Vector3i tmp) {
    Movement m = new Movement(reqMoveVector);

    Vector3d toFix = null;
    if (v instanceof Cuboid) {
      toFix = this.thingTools.fixOffset(new PaddedCuboid((Cuboid)v, .1, .1, 0), reqMoveVector, true, this.fixOffsetTmps);
      if (toFix != null) {
        m.add(toFix);
        Vector3d afterFix = this.thingTools.fixOffset((Cuboid) v, new Vector3d(m.x, m.y, m.z-.1), true, this.fixOffsetTmps);
        m.stoppedZ = afterFix != null || toFix.mag() == Math.abs(toFix.z);
      }
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.