Class Wedge

java.lang.Object
com.rvandoosselaer.blocks.shapes.Wedge
All Implemented Interfaces:
Shape

public class Wedge extends Object implements Shape
A shape implementation for a wedge. The default facing of a wedge is South: the sloping side (hypotenuse) will face south.
  • Constructor Details

    • Wedge

      public Wedge()
  • Method Details

    • add

      public void add(com.simsilica.mathd.Vec3i location, Chunk chunk, ChunkMesh chunkMesh)
      Description copied from interface: Shape
      Adds the shape at the location in the chunk to the chunk mesh.
      Specified by:
      add in interface Shape
      Parameters:
      location - of the shape in the chunk
      chunk - of the shape
      chunkMesh - to add the shape to