#include <PhysSystem.h>
Collaboration diagram for PhysSystem:

Public Member Functions | |
| bool | AddObjects (vector< Object3d * > &new_obj_list) |
| bool | Bound (PhysObject &cur_obj) |
| void | CollideObjects (PhysObject &Object1, PhysObject &Object2) |
| bool | CollidePoints (glVector point1, glVector &momentum1, float m1, float cor1, glVector point2, glVector &momentum2, float m2, float cor2) |
| PhysSystem () | |
| void | Update (PhysObject &cur_obj) |
| void | UpdateAll () |
| void | WorldEffect (PhysObject &cur_obj) |
Public Attributes | |
| glVector | gravity |
| vector< PhysObject > | obj_list |
| HiResTimer | physics_timer |
| HeightMap * | terrain |
| glVector | wind |
|
|
Definition at line 3 of file PhysSystem.cpp. References gravity, glVector::SetVector(), and wind. |
Here is the call graph for this function:

|
|
Definition at line 9 of file PhysSystem.cpp. References obj_list. Referenced by WinMain(). |
|
|
|
|
||||||||||||
|
Definition at line 39 of file PhysSystem.cpp. References CollidePoints(), glVector::length(), and glVector::ProjectOnto(). Referenced by UpdateAll(). |
Here is the call graph for this function:

|
||||||||||||||||||||||||||||||||||||
|
Definition at line 114 of file PhysSystem.cpp. References glVector::ProjectOnto(). Referenced by CollideObjects(). |
Here is the call graph for this function:

|
|
Definition at line 136 of file PhysSystem.cpp. References HiResTimer::difference_time, and physics_timer. Referenced by UpdateAll(). |
|
|
Definition at line 20 of file PhysSystem.cpp. References CollideObjects(), HiResTimer::GetElapsedSeconds(), obj_list, physics_timer, Update(), and WorldEffect(). Referenced by DrawGLScene(). |
Here is the call graph for this function:

|
|
Definition at line 130 of file PhysSystem.cpp. References HiResTimer::difference_time, obj_list, and physics_timer. Referenced by UpdateAll(). |
|
|
Definition at line 32 of file PhysSystem.h. Referenced by PhysSystem(). |
|
|
Definition at line 31 of file PhysSystem.h. Referenced by AddObjects(), DrawGLScene(), UpdateAll(), and WorldEffect(). |
|
|
Definition at line 35 of file PhysSystem.h. Referenced by Update(), UpdateAll(), WinMain(), and WorldEffect(). |
|
|
Definition at line 34 of file PhysSystem.h. |
|
|
Definition at line 33 of file PhysSystem.h. Referenced by PhysSystem(). |
1.4.1