Class Wedge

  • All Implemented Interfaces:
    Shape

    public class Wedge
    extends java.lang.Object
    implements Shape
    A shape implementation for a wedge.
    • Constructor Summary

      Constructors 
      Constructor Description
      Wedge()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(com.simsilica.mathd.Vec3i location, Chunk chunk, ChunkMesh chunkMesh)
      Adds the shape at the location in the chunk to the chunk mesh.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Wedge

        public Wedge()
    • Method Detail

      • 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