class Tres::Sphere
- Tres::Sphere
- Reference
- Object
Defined in:
tres/math/sphere.crConstructors
Instance Method Summary
-
#==(sphere)
Returns
false
(other can only be aValue
here). - #apply_matrix4(matrix)
- #bounding_box(target = Box3.new)
- #center : Tres::Vector3
- #center=(center : Tres::Vector3)
- #clamp_point(point, target = Vector3.new)
- #clone
- #contains_point?(point)
- #copy(sphere)
- #distance_to_point(point)
- #empty
- #intersects_sphere?(sphere)
- #radius : Float32
- #radius=(radius : Float32)
- #set(center, radius)
- #set_from_points(points, optional_center = nil)
- #translate(offset)
Constructor Detail
Instance Method Detail
def ==(sphere)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).