class OpenGL::Sphere
- OpenGL::Sphere
- Reference
- Object
Defined in:
opengl/math/sphere.crConstructors
Instance Method Summary
-
#==(sphere)
Returns
false
(other can only be aValue
here). - #apply_matrix4(matrix)
- #bounding_box(target = Box3.new)
- #center : OpenGL::Vector3
- #center=(center : OpenGL::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).