sensor_rotation_vector_t

Structure for a rotation vector.

Synopsis:

typedef struct  {
    float vector [4];
}sensor_rotation_vector_t;

Since:

BlackBerry 10.0.0

Data:

float vector[4]
The rotation vector.

Since: BlackBerry 10.0.0

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

Deprecated:

The function that uses this structure is deprecated. Instead, use the sensor_event_get_rotation_matrix() function.

The sensor_rotation_vector_t structure defines a rotation vector that represents the current rotation of the device. This structure is used with the sensor_event_get_rotation_vector() function.

See sensor_event_get_rotation_matrix().