19void kinc_internal_on_rotation(
float x,
float y,
float z);
21#ifdef KINC_IMPLEMENTATION_INPUT
22#define KINC_IMPLEMENTATION
25#ifdef KINC_IMPLEMENTATION
30static void (*rotation_callback)(
float ,
float ,
float ) = NULL;
33 rotation_callback = value;
36void kinc_internal_on_rotation(
float x,
float y,
float z) {
37 if (rotation_callback != NULL) {
38 rotation_callback(x, y, z);
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
KINC_FUNC void kinc_rotation_set_callback(void(*value)(float, float, float))
Sets the rotation-callback which is called when the device is rotated. Act quickly when this is calle...