October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, developers can continue to use the existing Google VR SDK to update and distribute their apps to the Google Play Store, and make them available to users in the Daydream app.

gvr_quatf

#include <gvr_types.h>

A floating point quaternion, in JPL format.

Summary

We use this simple struct in order not to impose a dependency on a particular math library. The user of this API is free to encapsulate this into any math library they want.

Public attributes

qw
float
qw is the scalar component.
qx
float
qx, qy, qz are the vector components.
qy
float
qz
float

Public attributes

qw

float gvr_quatf::qw

qw is the scalar component.

qx

float gvr_quatf::qx

qx, qy, qz are the vector components.

qy

float gvr_quatf::qy

qz

float gvr_quatf::qz