BoundingSphere Constructor

Declaration

public BoundingSphere(Vector3 pos, float rad);

Declaration

public BoundingSphere(Vector4 packedSphere);

Parameters

pos The center of the sphere.
rad The radius of the sphere.
packedSphere A 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: