CullSphereGroup.addSphere
Adds a sphere to the sphere group, duplicate ids are ignored.
Kind: Function
Environments: Game
Game
cullSphereGroup:addSphere( id, position, radius )
Parameters:
| Name | Type | Description |
|---|---|---|
sphereGroup |
CullSphereGroup | The sphere group. |
id |
integer | Sphere id. |
position |
Vec3 | Sphere position. |
radius |
number | Sphere radius. |