Module Osg.Bounding_sphere

module Bounding_sphere: sig .. end
General purpose bounding sphere class for enclosing nodes/objects/vertices.

Bounds internal Osg.Nodes in the scene, assists in view frustum culling, etc. Similar in function to Osg.Bounding_box, it's quicker for evaluating culling but generally will not cull as aggressively because it encloses a greater volume.

type t 
osg::BoundingSphere holder.
val create' : unit -> t
val center : t -> Osg.Vec3.t
val radius : t -> float
val radius2 : t -> float