4 #include "solid_vary.h"
6 typedef void (*cmd_fn
)(const union cmd
*);
8 void sol_body_p(float p
[3],
10 const struct v_body
*,
12 void sol_body_v(float v
[3],
13 const struct s_vary
*,
14 const struct v_body
*,
16 void sol_body_e(float e
[3],
17 const struct s_vary
*,
18 const struct v_body
*,
20 int sol_body_w(const struct s_vary
*,
21 const struct v_body
*);
23 void sol_rotate(float e
[3][3], const float w
[3], float dt
);
25 void sol_pendulum(struct v_ball
*up
,
27 const float g
[3], float dt
);
29 void sol_swch_step(struct s_vary
*, cmd_fn
, float dt
, int ms
);
30 void sol_move_step(struct s_vary
*, cmd_fn
, float dt
, int ms
);
31 void sol_ball_step(struct s_vary
*, cmd_fn
, float dt
);
47 int sol_item_test(struct s_vary
*, float *p
, float item_r
);
48 struct b_goal
*sol_goal_test(struct s_vary
*, float *p
, int ui
);
49 int sol_jump_test(struct s_vary
*, float *p
, int ui
);
50 int sol_swch_test(struct s_vary
*, cmd_fn
, int ui
);