Examples of CuboidImpl


Examples of de.beimax.simplespleef.gamehelpers.CuboidImpl

      int secondX = conf.getInt(confbase + ".b.x", 0);
      int secondY = conf.getInt(confbase + ".b.y", 0);
      int secondZ = conf.getInt(confbase + ".b.z", 0);
      if (firstX == 0 && firstY == 0 && firstZ == 0 && secondX == 0 && secondY == 0 && secondZ == 0) return null;
      // create cube
      return new CuboidImpl(firstWorld, (firstX<secondX?firstX:secondX), (firstY<secondY?firstY:secondY), (firstZ<secondZ?firstZ:secondZ),
          (firstX>secondX?firstX:secondX), (firstY>secondY?firstY:secondY), (firstZ>secondZ?firstZ:secondZ));
    }
  }
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.