raSystem  1.0 bata
raPhysik Class Reference

#include <raPhysik.h>

Public Member Functions

 raPhysik (raRender *rand)
 
 raPhysik (raRender *rend, const raVector3 &Position, const raVector3 &Velocity, const raVector3 &Accelerator, float mass=1.0f)
 
virtual ~raPhysik (void)
 
virtual void Update (float fTime, float fRunTime)
 
void Accelerate (float x, float y, float z)
 
void AngAccel (float x, float y, float z)
 
void SetAccelerate (float x, float y, float z)
 
void SetAccelerate (raVector3 Acc)
 
void SetAngAccel (float x, float y, float z)
 
void SetAngAccel (raVector3 Ang)
 
void StopMotion ()
 
raVector3 GetPosition ()
 
raVector3 GetVelocity ()
 
float GetMass ()
 
float GetBoundingSphereRadius ()
 
void SetVelocity (float x, float y, float z)
 

Detailed Description

Definition at line 3 of file raPhysik.h.

Constructor & Destructor Documentation

◆ raPhysik() [1/2]

raPhysik::raPhysik ( raRender rand)

Definition at line 4 of file raPhysik.cpp.

◆ raPhysik() [2/2]

raPhysik::raPhysik ( raRender rend,
const raVector3 Position,
const raVector3 Velocity,
const raVector3 Accelerator,
float  mass = 1.0f 
)

Definition at line 18 of file raPhysik.cpp.

◆ ~raPhysik()

raPhysik::~raPhysik ( void  )
virtual

Definition at line 35 of file raPhysik.cpp.

Member Function Documentation

◆ Accelerate()

void raPhysik::Accelerate ( float  x,
float  y,
float  z 
)

Definition at line 126 of file raPhysik.cpp.

◆ AngAccel()

void raPhysik::AngAccel ( float  x,
float  y,
float  z 
)

Definition at line 131 of file raPhysik.cpp.

◆ GetBoundingSphereRadius()

float raPhysik::GetBoundingSphereRadius ( )

Definition at line 115 of file raPhysik.cpp.

◆ GetMass()

float raPhysik::GetMass ( )

Definition at line 111 of file raPhysik.cpp.

◆ GetPosition()

raVector3 raPhysik::GetPosition ( void  )

Definition at line 100 of file raPhysik.cpp.

◆ GetVelocity()

raVector3 raPhysik::GetVelocity ( )

Definition at line 107 of file raPhysik.cpp.

◆ SetAccelerate() [1/2]

void raPhysik::SetAccelerate ( float  x,
float  y,
float  z 
)

Definition at line 66 of file raPhysik.cpp.

◆ SetAccelerate() [2/2]

void raPhysik::SetAccelerate ( raVector3  Acc)

Definition at line 70 of file raPhysik.cpp.

◆ SetAngAccel() [1/2]

void raPhysik::SetAngAccel ( float  x,
float  y,
float  z 
)

Definition at line 74 of file raPhysik.cpp.

◆ SetAngAccel() [2/2]

void raPhysik::SetAngAccel ( raVector3  Ang)

Definition at line 78 of file raPhysik.cpp.

◆ SetVelocity()

void raPhysik::SetVelocity ( float  x,
float  y,
float  z 
)

Definition at line 120 of file raPhysik.cpp.

◆ StopMotion()

void raPhysik::StopMotion ( )

Definition at line 82 of file raPhysik.cpp.

◆ Update()

void raPhysik::Update ( float  fTime,
float  fRunTime 
)
virtual

Definition at line 38 of file raPhysik.cpp.


The documentation for this class was generated from the following files: