Package com.jozufozu.flywheel.lib.model
Class SimpleModel
java.lang.Object
com.jozufozu.flywheel.lib.model.SimpleModel
- All Implemented Interfaces:
Model
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jozufozu.flywheel.api.model.Model
Model.ConfiguredMesh -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleModel
-
-
Method Details
-
meshes
Description copied from interface:ModelGet 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, though no render order guarantees are made for meshes between different models.
-
boundingSphere
public org.joml.Vector4fc boundingSphere()Description copied from interface:ModelGet a vec4 representing this model's bounding sphere in the format (x, y, z, radius). It should encompass all meshes' bounding spheres.- Specified by:
boundingSpherein interfaceModel- Returns:
- A vec4 view.
-
delete
public void delete()
-