Class RoundedCube

  • All Implemented Interfaces:
    Shape

    public class RoundedCube
    extends java.lang.Object
    implements Shape
    A shape implementation for a rounded cube.
    • Constructor Summary

      Constructors 
      Constructor Description
      RoundedCube()  
    • 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

      • RoundedCube

        public RoundedCube()
    • 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