Package com.rvandoosselaer.blocks.shapes
Class SquareCuboid
java.lang.Object
com.rvandoosselaer.blocks.shapes.Slab
com.rvandoosselaer.blocks.shapes.SquareCuboid
- All Implemented Interfaces:
Shape
A shape implementation for a square cuboid. A square cuboid is a cube shape with a controllable y (height) value just
as a
Slab
. The main difference between a square cuboid and a slab, is that a square cuboid is considered as
a cube in the face visible check algorithm. Even if the y values are different from the default cube (greater then 0
or smaller then 1), the faces between adjacent square cuboids will not be rendered even if they are not shared or
touching.-
Field Summary
Fields inherited from interface com.rvandoosselaer.blocks.Shape
DIRECTIONS_SIZE, FACES_DIR, ROTATION_DOWN, ROTATION_EAST, ROTATION_NORTH, ROTATION_SOUTH, ROTATION_UP, ROTATION_WEST, YAW_EAST, YAW_NORTH, YAW_UP, YAW_WEST
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.rvandoosselaer.blocks.shapes.Slab
createDown, createEast, createNorth, createSouth, createUp, createWest
-
Constructor Details
-
SquareCuboid
public SquareCuboid(float startY, float endY)
-
-
Method Details