This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
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.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["`gvr_quatf` is a struct representing a floating-point quaternion in JPL format, used for rotations."],["This struct avoids dependencies on specific math libraries, offering flexibility to users."],["It comprises four float components: `qw` (scalar) and `qx`, `qy`, `qz` (vector components)."]]],["The `gvr_quatf` struct, defined in `gvr_types.h`, represents a floating-point quaternion in JPL format, using four `float` components. It contains a scalar component `qw` and vector components `qx`, `qy`, and `qz`. This structure avoids imposing a specific math library dependency, allowing users flexibility in their implementation. The struct's components are public attributes, each represented by a floating-point number.\n"]]