#include <GameApi.hh>
|
| IMPORT | PointApi (Env &e) |
| IMPORT PT | origo () |
| IMPORT PT | point (float x, float y, float z=0.0) |
| IMPORT PT | move (PT p1, float dx, float dy, float dz=0.0) |
| IMPORT PT | move (PT p1, V vec) |
| IMPORT PT | mix (PT p1, PT p2, float val) |
| IMPORT PT | from_angle (float radius, float angle) |
| IMPORT PT | from_angle (PT center, float radius, float angle) |
| IMPORT PT | spherical_coords (PT pos) |
| IMPORT PT | cartesian_coords (PT pos) |
| IMPORT float | pt_x (PT p) |
| IMPORT float | pt_y (PT p) |
| IMPORT float | pt_z (PT p) |
| IMPORT float | dist3d (PT p, PT p2) |
| IMPORT float | dist2d (PT p, PT p2) |
| IMPORT V | minus (PT p1, PT p2) |
◆ PointApi()
| EXPORT GameApi::PointApi::PointApi |
( |
Env & | e | ) |
|
◆ cartesian_coords()
◆ dist2d()
| EXPORT float GameApi::PointApi::dist2d |
( |
PT | p, |
|
|
PT | p2 ) |
◆ dist3d()
| EXPORT float GameApi::PointApi::dist3d |
( |
PT | p, |
|
|
PT | p2 ) |
◆ from_angle() [1/2]
◆ from_angle() [2/2]
◆ minus()
◆ mix()
◆ move() [1/2]
◆ move() [2/2]
◆ origo()
◆ point()
◆ pt_x()
| EXPORT float GameApi::PointApi::pt_x |
( |
PT | p | ) |
|
◆ pt_y()
| EXPORT float GameApi::PointApi::pt_y |
( |
PT | p | ) |
|
◆ pt_z()
| EXPORT float GameApi::PointApi::pt_z |
( |
PT | p | ) |
|
◆ spherical_coords()
The documentation for this class was generated from the following files: