NSMath::TMathCPU Class Reference

This class defines abstract class for mathematical processors. More...

#include <MathCPU.h>

Inheritance diagram for NSMath::TMathCPU:

Inheritance graph
[legend]
Collaboration diagram for NSMath::TMathCPU:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void FindMaxDistanceSquare (const TVector3 *inArray16, const DWORD &inCount, const TVector3 &inCenter, float &outMaxDistanceSqr) const =0
virtual void FindCenter (const TVector3 *inArray16, const DWORD &inCount, TVector3 &outCenter) const =0
virtual void FindMinMax (const TVector3 *inArray16, const DWORD &inCount, TVector3 &outMin, TVector3 &outMax) const =0

Detailed Description

This class defines abstract class for mathematical processors.

Classes derived from this base class implemetns their methods with using special instruction sets (like MMX, SSE, SSE2, SS3, etc.)

At start of application best possible class is created according CPU type. It is then used from entire applicaton.

Pointer to created processor is initialized, stored and destroyed in TMathGlobals class.

Definition at line 39 of file MathCPU.h.


Member Function Documentation

virtual void NSMath::TMathCPU::FindCenter const TVector3 inArray16,
const DWORD inCount,
TVector3 outCenter
const [pure virtual]
 

Implemented in NSMath::TCPUUniversal.

virtual void NSMath::TMathCPU::FindMaxDistanceSquare const TVector3 inArray16,
const DWORD inCount,
const TVector3 inCenter,
float &  outMaxDistanceSqr
const [pure virtual]
 

Implemented in NSMath::TCPUUniversal.

Referenced by NSMath::TSphere::SetFromPoints().

virtual void NSMath::TMathCPU::FindMinMax const TVector3 inArray16,
const DWORD inCount,
TVector3 outMin,
TVector3 outMax
const [pure virtual]
 

Implemented in NSMath::TCPUUniversal.

Referenced by NSMath::TSphere::SetFromPoints(), NSMath::TBox::SetFromPoints(), and NSMath::TAABBox::SetFromPoints().


The documentation for this class was generated from the following file:
Generated on Wed Nov 28 22:48:59 2007 for Joy4D by  doxygen 1.4.6-NO