Tres::Sphere
Inherits Reference < Object
Constructors
Instance methods
apply_matrix4(matrix)
Sourcebounding_box(target = Box3.new)
Sourcecenter
Sourcecenter=(center : Tres::Vector3)
Sourceclamp_point(point, target = Vector3.new)
Sourceclone
Sourcecontains_point?(point)
Sourcecopy(sphere)
Sourcedistance_to_point(point)
Sourceempty
Sourceintersects_sphere?(sphere)
Sourceradius
Sourceradius=(radius : Float32)
Sourceset(center, radius)
Sourceset_from_points(points, optional_center = nil)
Sourcetranslate(offset)
Source