|
| double | distance (VECTOR3D *p1, VECTOR3D *p2) |
| | distance between two points
|
| |
| int | update_physics_position (PHYSICS *object, double delta_t) |
| | update the position of an object, using the delta time T to update positions
|
| |
| int | update_physics_position_nb (PHYSICS *object, int it, double delta_t) |
| | update component[ it ] of a VECTOR3D
|
| |
| int | update_physics_position_reverse (PHYSICS *object, double delta_t) |
| | update the position of an object, using the delta time T to reverse update positions
|
| |
| int | update_physics_position_reverse_nb (PHYSICS *object, int it, double delta_t) |
| | update component[ it ] of a VECTOR3D, reversed time
|
| |
| double | vector_angle_between (VECTOR3D *vec1, VECTOR3D *vec2) |
| | vector angle with other vector
|
| |
| double | vector_dot_product (VECTOR3D *vec1, VECTOR3D *vec2) |
| | dot product
|
| |
| int | vector_intersect (VECTOR3D *p0, VECTOR3D *p1, VECTOR3D *p2, VECTOR3D *p3, VECTOR3D *px) |
| | compute if two vector are colliding, storing the resulting point in px
|
| |
| double | vector_normalize (VECTOR3D *vec) |
| | vector normalize
|
| |
Simple 3D movement simulation.
- Author
- Castagnier Mickael
- Version
- 1.0
- Date
- 30/04/2014
Definition in file n_3d.h.