Represents a solid in the game.
More...
#include <physics.h>
Represents a solid in the game.
Definition at line 17 of file physics.h.
◆ dir
Direction solid is facing in rad.
Definition at line 19 of file physics.h.
◆ dir_vel
Velocity at which solid is rotating in rad/s.
Definition at line 20 of file physics.h.
◆ mass
◆ pos
Position of the solid.
Definition at line 22 of file physics.h.
◆ speed_max
Maximum speed.
Definition at line 24 of file physics.h.
◆ thrust
Relative X force, basically simplified for our thrust model.
Definition at line 23 of file physics.h.
◆ update
| void(* Solid::update) (struct Solid_ *, double) |
Update method.
Definition at line 25 of file physics.h.
◆ vel
Velocity of the solid.
Definition at line 21 of file physics.h.
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/naev-0.10.4/src/physics.h