Class Sphere3D
- All Implemented Interfaces:
AutoCloseable
UV sphere with configurable tessellation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidextract(WorldRenderContext context) protected WorldBoundsradius(double value) segments(int rings, int segments)
-
Constructor Details
-
Sphere3D
public Sphere3D() -
Sphere3D
public Sphere3D(net.minecraft.world.phys.Vec3 center, double radius)
-
-
Method Details
-
radius
-
segments
-
localBounds
- Overrides:
localBoundsin classWorldObject<Sphere3D>
-
extract
- Specified by:
extractin classWorldObject<Sphere3D>
-