Structure for a rotation matrix.
typedef struct {
float matrix [3 *3];
}sensor_rotation_matrix_t;
BlackBerry 10.0.0
Since: BlackBerry 10.0.0
The sensor_rotation_matrix_t structure defines a rotation matrix that represents the current rotation of the device. This structure is used with the sensor_event_get_rotation_matrix() function.
The rotational matrix computes the inclination matrix I as well as the rotation matrix R transforming a vector from the device coordinate system to the world's coordinate system which is defined as a direct orthonormal basis, where X is defined as the vector product Y.Z (It is tangential to the ground at the device's current location and roughly points east.)