Represents a solid in the game.
More...
#include <physics.h>
Represents a solid in the game.
Definition at line 44 of file physics.h.
◆ accel
Relative X acceleration, basically simplified for our model.
Definition at line 51 of file physics.h.
◆ dir
Direction solid is facing in rad.
Definition at line 46 of file physics.h.
◆ dir_vel
Velocity at which solid is rotating in rad/s.
Definition at line 47 of file physics.h.
◆ mass
◆ pos
Position of the solid.
Definition at line 49 of file physics.h.
◆ pre
Previous position of the solid. For collisions.
Definition at line 50 of file physics.h.
◆ speed_max
Maximum speed.
Definition at line 53 of file physics.h.
◆ update
| void(* Solid::update) (struct Solid_ *, double) |
Update method.
Definition at line 54 of file physics.h.
◆ vel
Velocity of the solid.
Definition at line 48 of file physics.h.
The documentation for this struct was generated from the following file:
- /tmp/pkgbuild/games/naev/work.aarch64eb/naev-0.12.5/src/physics.h