41 #ifndef DYNAMICS_H_INCLUDED 42 #define DYNAMICS_H_INCLUDED 59 #endif // DYNAMICS_H_INCLUDED void calculate_gforce(struct accel_t *ac, struct vec3w_t *accel, struct gforce_t *gforce)
Calculate the gravity forces on each axis.
Definition: dynamics.c:128
Accelerometer struct. For any device with an accelerometer.
Definition: wiiuse.h:326
void calculate_orientation(struct accel_t *ac, struct vec3w_t *accel, struct orient_t *orient, int smooth)
Calculate the roll, pitch, yaw.
Definition: dynamics.c:63
Joystick calibration structure.
Definition: wiiuse.h:423
Gravity force struct.
Definition: wiiuse.h:317
GLenum type
Definition: glext.h:6233
void calc_joystick_state(struct joystick_t *js, float x, float y)
Calculate the angle and magnitude of a joystick.
Definition: dynamics.c:164
General internal wiiuse stuff.
GLint GLint GLint GLint GLint GLint y
Definition: glext.h:6295
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
Orientation struct.
Definition: wiiuse.h:303
void apply_smoothing(struct accel_t *ac, struct orient_t *orient, int type)
Definition: dynamics.c:203