RSphere Class Reference

#include <influenc.h>

Inheritance diagram for RSphere:

Inheritance graph
[legend]
Collaboration diagram for RSphere:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RSphere ()
 RSphere (float, float, float)
void Init (float, float, float)
void Intersect (const Vector &, const Vector &, ThreadInfo *)
BOOL Intersect (const Vector &, const Vector &, Vector &, Vector &)
void Normal (Hit &, Vector &, Vector &)
int GetType ()
float Falloff (Vector)
Vector Attract (Vector, float)
Vector Vortex (Vector, Vector, float)
Vector Friction (Vector, Vector, float)
float Lighting (const Vector &, Vector &, float &)
void Transform ()
BOOL IsInside (Vector p)
void FindBounds (Vector &min, Vector &max)

Public Attributes

Vector center
float radius
float radiussqr
float falloffdistance
float falloffdistancesqr
float softfalloffdistance
float falloffdistancedelta
float S
float beta
float L

Detailed Description

Definition at line 126 of file influenc.h.


Constructor & Destructor Documentation

RSphere::RSphere  )  [inline]
 

Definition at line 133 of file influenc.h.

RSphere::RSphere float  ,
float  ,
float 
 


Member Function Documentation

Vector RSphere::Attract Vector  ,
float 
[virtual]
 

Implements InfluenceShape.

float RSphere::Falloff Vector   )  [virtual]
 

Implements InfluenceShape.

void RSphere::FindBounds Vector min,
Vector max
[virtual]
 

Implements InfluenceShape.

Vector RSphere::Friction Vector  ,
Vector  ,
float 
[virtual]
 

Implements InfluenceShape.

int RSphere::GetType  )  [inline, virtual]
 

Implements RObject.

Definition at line 141 of file influenc.h.

References RSPHERE.

void RSphere::Init float  ,
float  ,
float 
 

BOOL RSphere::Intersect const Vector ,
const Vector ,
Vector ,
Vector
[virtual]
 

Reimplemented from RObject.

void RSphere::Intersect const Vector ,
const Vector ,
ThreadInfo * 
[virtual]
 

Reimplemented from RObject.

BOOL RSphere::IsInside Vector  p  )  [virtual]
 

Implements InfluenceShape.

float RSphere::Lighting const Vector ,
Vector ,
float & 
[virtual]
 

Implements InfluenceShape.

void RSphere::Normal Hit ,
Vector ,
Vector
[virtual]
 

Reimplemented from RObject.

void RSphere::Transform  )  [virtual]
 

Implements InfluenceShape.

Vector RSphere::Vortex Vector  ,
Vector  ,
float 
[virtual]
 

Implements InfluenceShape.


Member Data Documentation

float RSphere::beta
 

Definition at line 129 of file influenc.h.

Vector RSphere::center
 

Definition at line 128 of file influenc.h.

float RSphere::falloffdistance
 

Definition at line 129 of file influenc.h.

float RSphere::falloffdistancedelta
 

Definition at line 129 of file influenc.h.

float RSphere::falloffdistancesqr
 

Definition at line 129 of file influenc.h.

float RSphere::L
 

Definition at line 129 of file influenc.h.

float RSphere::radius
 

Definition at line 129 of file influenc.h.

float RSphere::radiussqr
 

Definition at line 129 of file influenc.h.

float RSphere::S
 

Definition at line 129 of file influenc.h.

float RSphere::softfalloffdistance
 

Definition at line 129 of file influenc.h.


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:47:03 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001