BoundingSphere Constructor

public BoundingSphere(Vector3 pos, float rad);
public BoundingSphere(Vector4 packedSphere);

Parameters

posThe center of the sphere.
radThe radius of the sphere.
packedSphereA four-component vector containing the position (packed into the XYZ components) and radius (packed into the W component).

Description

Initializes a BoundingSphere.

Did you find this page useful? Please give it a rating: