"L. Spiro Engine"
Public Member Functions | Static Public Member Functions | Public Attributes

lsm::CSphere Class Reference

#include <LSMSphere.h>

List of all members.

Public Member Functions

LSE_INLINE LSE_CALLCTOR CSphere (const CSphere &_sSphere)
LSE_INLINE LSE_CALLCTOR CSphere (const CVector3 &_vPos, LSREAL _fRadius)

Static Public Member Functions

static CSphere LSE_FCALL SphereEnclosingSpheres (const CSphere &_sLeft, const CSphere &_sRight)
static CSphere LSE_FCALL CreateSphereFromSphereAndMatrix (const CSphere &_sSphere, const CMatrix4x4 &_mMat)

Public Attributes

CVector3 c
LSREAL r

Detailed Description

Class CSphere

Description: A sphere.


Member Function Documentation

static CSphere LSE_FCALL lsm::CSphere::CreateSphereFromSphereAndMatrix ( const CSphere _sSphere,
const CMatrix4x4 _mMat 
) [static]

Creates a new sphere that represents the given sphere modified by the given matrix.

Parameters:
_sSphereThe sphere to modify.
_mMatThe matrix by which to modify the given sphere.
Returns:
Returns a sphere that has been scaled and moved by the given matrix.
static CSphere LSE_FCALL lsm::CSphere::SphereEnclosingSpheres ( const CSphere _sLeft,
const CSphere _sRight 
) [static]

Return a sphere that encloses the two given spheres.

Parameters:
_sLeftLeft operand.
_sRightRight operand.
Returns:
Returns a sphere containing the two given sphere.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator