class

Mittsu::Sphere

Inherits Reference < Object

Constructors

new(center = Mittsu::Vector3.new, radius = 0.0)
Source

Instance methods

==(sphere)

Returns false (other can only be a Value here).

Source
apply_matrix4(matrix)
Source
bounding_box(target = Mittsu::Box3.new)
Source
center
Source
center=(center : Mittsu::Vector3)
Source
clamp_point(point, target = Mittsu::Vector3.new)
Source
clone
Source
contains_point?(point)
Source
copy(sphere)
Source
distance_to_point(point)
Source
empty
Source
intersects_sphere?(sphere)
Source
radius
Source
radius=(radius : Float64)
Source
set(center, radius)
Source
set_from_points(points, optional_center = nil)
Source
translate(offset)
Source