BoundingSphere

open class BoundingSphere

Represents a bounding sphere in Cartesian coordinates. Typically used as a bounding volume.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The sphere's center point.

Link copied to clipboard

The sphere's radius.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Generates the 8 corner points of this bounding sphere in 3D space.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Indicates whether this bounding sphere intersects a specified frustum.

Link copied to clipboard
fun set(center: Vec3, radius: Double): BoundingSphere

Sets this bounding sphere to the specified center point and radius.

Link copied to clipboard
open override fun toString(): String