Class EmptyModel

java.lang.Object
dev.engine_room.flywheel.lib.model.EmptyModel
All Implemented Interfaces:
Model

public final class EmptyModel extends Object implements Model
  • Field Details

    • INSTANCE

      public static final EmptyModel INSTANCE
  • Constructor Details

    • EmptyModel

      public EmptyModel()
  • Method Details

    • meshes

      public List<Model.ConfiguredMesh> meshes()
      Description copied from interface: Model
      Get a list of all meshes in this model.

      The contents of the returned list will be queried, but never modified.

      Meshes will be rendered in the order they appear in this list. See InstancerProvider.instancer(InstanceType, Model, int) for a complete explanation

      Specified by:
      meshes in interface Model
      Returns:
      A list of meshes.
    • boundingSphere

      public org.joml.Vector4fc boundingSphere()
      Description copied from interface: Model
      Get a vec4 representing this model's bounding sphere in the format (x, y, z, radius). It should encompass all meshes' bounding spheres.
      Specified by:
      boundingSphere in interface Model
      Returns:
      A vec4 view.