#include <GameApi.hh>
|
| IMPORT | PhysicsApi (Env &e) |
| IMPORT PH | phy_empty () |
| IMPORT PHI | anchor_point (PH phy, PT pos) |
| PH | anchor_point2 (PH phy, PT pos) |
| IMPORT PH | ext_force (PH phy, int point, V dir) |
| IMPORT PH | ext_force_all (PH phy, V dir) |
| IMPORT PH | anchor_link (PH phy, int p1, int p2, float dist) |
| IMPORT PH | force_obj (PH phy, O obj, V dir) |
| IMPORT PH | phy_from_p (P p) |
| IMPORT int | num_anchors (PH phy) |
| IMPORT int | num_forces (PH phy, int anchor) |
| IMPORT int | num_links (PH phy) |
| IMPORT int | num_force_volumes (PH phy) |
| IMPORT PTS | init_points (PH pos) |
| IMPORT void | step_points (PH phy, PTA prev_frame, float timestep) |
| IMPORT PTS | physics_action (EveryApi &ev, PH phy) |
◆ PhysicsApi()
| GameApi::PhysicsApi::PhysicsApi |
( |
Env & | e | ) |
|
◆ anchor_link()
| GameApi::PH GameApi::PhysicsApi::anchor_link |
( |
PH | phy, |
|
|
int | p1, |
|
|
int | p2, |
|
|
float | dist ) |
◆ anchor_point()
◆ anchor_point2()
| PH GameApi::PhysicsApi::anchor_point2 |
( |
PH | phy, |
|
|
PT | pos ) |
|
inline |
◆ ext_force()
| GameApi::PH GameApi::PhysicsApi::ext_force |
( |
PH | phy, |
|
|
int | point, |
|
|
V | dir ) |
◆ ext_force_all()
◆ force_obj()
◆ init_points()
◆ num_anchors()
| int GameApi::PhysicsApi::num_anchors |
( |
PH | phy | ) |
|
◆ num_force_volumes()
| int GameApi::PhysicsApi::num_force_volumes |
( |
PH | phy | ) |
|
◆ num_forces()
| int GameApi::PhysicsApi::num_forces |
( |
PH | phy, |
|
|
int | anchor ) |
◆ num_links()
| int GameApi::PhysicsApi::num_links |
( |
PH | phy | ) |
|
◆ phy_empty()
◆ phy_from_p()
◆ physics_action()
◆ step_points()
| void GameApi::PhysicsApi::step_points |
( |
PH | phy, |
|
|
PTA | prev_frame, |
|
|
float | timestep ) |
The documentation for this class was generated from the following files: