CapsuleVolume::SetCapsuleSize
Defined in:
Sets the hemispherical cap size.
C4Volumes.h
Prototype
void SetCapsuleSize(const Vector3D& size);
Parameters
size |
The new hemispherical cap size. |
Description
The SetCapsuleSize
function sets the physical dimensions of the hemispherical caps of the capsule volume to those specified by the size
parameter. The center of the base of the interior cylinder coincides with the origin, and the three components of the size correspond to the radii of the hemispherical caps along the x, y, and z axes.
See Also