math3dhelper.h header
Contains math libraries for a 3d vector, rotation matrix, and quaternion calculation.
The following is a table of constants in Math3dhelper.h:
Name | Type | Value |
---|---|---|
PI | float | 3.14159265f |
DegToRadRatio | float | (PI / 180.0f) |
RadToDegRatio | float | (180.0f / PI) |
FLOAT_TOLERANCE | float | 0.00001f |
This header is used by sensors. For more information, see:
math3dhelper.h contains the following programming interfaces:
Classes
CVEC3D Math library for a 3D vector. |
Functions
FloatEq This function tests equality with FLOAT_TOLERANCE = 0.00001. |
RealModulo Calculates the modular value between x and y. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for