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."],[[["\u003cp\u003e\u003ccode\u003egvr_quatf\u003c/code\u003e is a struct representing a floating-point quaternion in JPL format, used for rotations.\u003c/p\u003e\n"],["\u003cp\u003eThis struct avoids dependencies on specific math libraries, offering flexibility to users.\u003c/p\u003e\n"],["\u003cp\u003eIt comprises four float components: \u003ccode\u003eqw\u003c/code\u003e (scalar) and \u003ccode\u003eqx\u003c/code\u003e, \u003ccode\u003eqy\u003c/code\u003e, \u003ccode\u003eqz\u003c/code\u003e (vector components).\u003c/p\u003e\n"]]],["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"],null,[]]