|
Skyscraper 2.0
|
Namespaces | |
| namespace | detail |
| namespace | Pose |
| namespace | Quaternion |
Classes | |
| struct | NearFar |
| struct | ViewProjection |
Functions | |
| template<typename X , typename Y > | |
| constexpr const X & | cast (const Y &value)=delete |
| DirectX::XMVECTOR XM_CALLCONV | LoadXrVector2 (const XrVector2f &vector) |
| DirectX::XMVECTOR XM_CALLCONV | LoadXrVector3 (const XrVector3f &vector) |
| DirectX::XMVECTOR XM_CALLCONV | LoadXrVector4 (const XrVector4f &vector) |
| DirectX::XMVECTOR XM_CALLCONV | LoadXrQuaternion (const XrQuaternionf &quaternion) |
| DirectX::XMMATRIX XM_CALLCONV | LoadXrPose (const XrPosef &rigidTransform) |
| DirectX::XMMATRIX XM_CALLCONV | LoadInvertedXrPose (const XrPosef &rigidTransform) |
| DirectX::XMVECTOR XM_CALLCONV | LoadXrExtent (const XrExtent2Df &extend) |
| void XM_CALLCONV | StoreXrVector2 (XrVector2f *outVec, DirectX::FXMVECTOR inVec) |
| void XM_CALLCONV | StoreXrVector3 (XrVector3f *outVec, DirectX::FXMVECTOR inVec) |
| void XM_CALLCONV | StoreXrVector4 (XrVector4f *outVec, DirectX::FXMVECTOR inVec) |
| void XM_CALLCONV | StoreXrQuaternion (XrQuaternionf *outQuat, DirectX::FXMVECTOR inQuat) |
| bool XM_CALLCONV | StoreXrPose (XrPosef *out, DirectX::FXMMATRIX matrix) |
| void XM_CALLCONV | StoreXrExtent (XrExtent2Df *extend, DirectX::FXMVECTOR inVec) |
| DirectX::XMMATRIX | ComposeProjectionMatrix (const XrFovf &fov, const NearFar &nearFar) |
| NearFar | GetProjectionNearFar (const DirectX::XMFLOAT4X4 &projectionMatrix) |
| XrFovf | DecomposeProjectionMatrix (const DirectX::XMFLOAT4X4 &projectionMatrix) |
| DEFINE_CAST (XrVector2f, DirectX::XMFLOAT2) | |
| DEFINE_CAST (DirectX::XMFLOAT2, XrVector2f) | |
| DEFINE_CAST (XrVector3f, DirectX::XMFLOAT3) | |
| DEFINE_CAST (DirectX::XMFLOAT3, XrVector3f) | |
| DEFINE_CAST (XrVector4f, DirectX::XMFLOAT4) | |
| DEFINE_CAST (DirectX::XMFLOAT4, XrVector4f) | |
| DEFINE_CAST (XrQuaternionf, DirectX::XMFLOAT4) | |
| DEFINE_CAST (DirectX::XMFLOAT4, XrQuaternionf) | |
| DEFINE_CAST (XrExtent2Di, DirectX::XMINT2) | |
| DEFINE_CAST (DirectX::XMINT2, XrExtent2Di) | |
| DEFINE_CAST (XrExtent2Df, DirectX::XMFLOAT2) | |
| DEFINE_CAST (DirectX::XMFLOAT2, XrExtent2Df) | |
| DEFINE_CAST (XrColor4f, DirectX::XMFLOAT4) | |
| DEFINE_CAST (DirectX::XMFLOAT4, XrColor4f) | |
| VECTOR2F_OPERATOR (+) | |
| VECTOR2F_OPERATOR (-) | |
| VECTOR2F_OPERATOR * | VECTOR2F_OPERATOR (/);#define VECTOR2F_OPERATOR(op) \ \ \ VECTOR2F_OPERATOR(+ |
| VECTOR3F_OPERATOR (-) | |
| VECTOR3F_OPERATOR * | VECTOR3F_OPERATOR (/);#define VECTOR3F_OPERATOR(op) \ \ \ VECTOR3F_OPERATOR(+ |
| XrPosef | operator* (const XrPosef &a, const XrPosef &b) |
| float | Dot (const XrVector3f &a, const XrVector3f &b) |
| float | Length (const XrVector3f &v) |
| XrVector3f | Normalize (const XrVector3f &a) |
| bool | IsInfiniteNearPlaneProjectionMatrix (const DirectX::XMFLOAT4X4 &p) |
| bool | IsInfiniteFarPlaneProjectionMatrix (const DirectX::XMFLOAT4X4 &p) |
| void | ValidateProjectionMatrix (const DirectX::XMFLOAT4X4 &p) |
| template<uint32_t alignment> | |
| constexpr uint32_t | AlignTo (uint32_t n) |
| constexpr uint32_t | DivideRoundingUp (uint32_t x, uint32_t y) |
Variables | |
| constexpr float | QuaternionEpsilon = 0.01f |
| constexpr float | OneOverFloatEpsilon = 1.0f / std::numeric_limits<float>::epsilon() |
|
inlineconstexpr |
|
constexprdelete |
Referenced by LoadXrExtent(), LoadXrQuaternion(), LoadXrVector3(), and LoadXrVector4().
|
inline |
Definition at line 460 of file XrMath.h.
References xr::math::NearFar::Far, and xr::math::NearFar::Near.
|
inline |
Definition at line 581 of file XrMath.h.
References ValidateProjectionMatrix().

| xr::math::DEFINE_CAST | ( | DirectX::XMFLOAT2 | , |
| XrExtent2Df | ) |
| xr::math::DEFINE_CAST | ( | DirectX::XMFLOAT2 | , |
| XrVector2f | ) |
| xr::math::DEFINE_CAST | ( | DirectX::XMFLOAT3 | , |
| XrVector3f | ) |
| xr::math::DEFINE_CAST | ( | DirectX::XMFLOAT4 | , |
| XrColor4f | ) |
| xr::math::DEFINE_CAST | ( | DirectX::XMFLOAT4 | , |
| XrQuaternionf | ) |
| xr::math::DEFINE_CAST | ( | DirectX::XMFLOAT4 | , |
| XrVector4f | ) |
| xr::math::DEFINE_CAST | ( | DirectX::XMINT2 | , |
| XrExtent2Di | ) |
| xr::math::DEFINE_CAST | ( | XrColor4f | , |
| DirectX::XMFLOAT4 | ) |
| xr::math::DEFINE_CAST | ( | XrExtent2Df | , |
| DirectX::XMFLOAT2 | ) |
| xr::math::DEFINE_CAST | ( | XrExtent2Di | , |
| DirectX::XMINT2 | ) |
| xr::math::DEFINE_CAST | ( | XrQuaternionf | , |
| DirectX::XMFLOAT4 | ) |
| xr::math::DEFINE_CAST | ( | XrVector2f | , |
| DirectX::XMFLOAT2 | ) |
| xr::math::DEFINE_CAST | ( | XrVector3f | , |
| DirectX::XMFLOAT3 | ) |
| xr::math::DEFINE_CAST | ( | XrVector4f | , |
| DirectX::XMFLOAT4 | ) |
|
inlineconstexpr |
|
inline |
Definition at line 444 of file XrMath.h.
Referenced by Length(), and Normalize().
|
inline |
Definition at line 561 of file XrMath.h.
References xr::math::NearFar::Far, IsInfiniteFarPlaneProjectionMatrix(), IsInfiniteNearPlaneProjectionMatrix(), xr::math::NearFar::Near, and ValidateProjectionMatrix().

|
inline |
Definition at line 546 of file XrMath.h.
Referenced by GetProjectionNearFar().
|
inline |
Definition at line 542 of file XrMath.h.
Referenced by GetProjectionNearFar().
|
inline |
|
inline |
Definition at line 263 of file XrMath.h.
References xr::math::Pose::Invert(), and LoadXrPose().

|
inline |
|
inline |
Definition at line 255 of file XrMath.h.
References LoadXrQuaternion(), and LoadXrVector3().
Referenced by Ogre::OpenXRRenderWindow::_beginUpdate(), and LoadInvertedXrPose().

|
inline |
Definition at line 247 of file XrMath.h.
References cast().
Referenced by xr::math::Pose::Invert(), xr::math::Quaternion::Length(), LoadXrPose(), xr::math::Pose::Multiply(), and xr::math::Quaternion::Slerp().

| DirectX::XMVECTOR XM_CALLCONV xr::math::LoadXrVector2 | ( | const XrVector2f & | vector | ) |
|
inline |
Definition at line 239 of file XrMath.h.
References cast().
Referenced by xr::math::Pose::Invert(), LoadXrPose(), xr::math::Pose::LookAt(), xr::math::Pose::Multiply(), and xr::math::Quaternion::RotationAxisAngle().

|
inline |
|
inline |
|
inline |
Definition at line 440 of file XrMath.h.
References xr::math::Pose::Multiply().

|
inline |
Definition at line 283 of file XrMath.h.
References xr::math::detail::implement_math_cast().

|
inline |
Definition at line 287 of file XrMath.h.
References StoreXrQuaternion(), and StoreXrVector3().
Referenced by xr::math::Pose::LookAt().

|
inline |
Definition at line 279 of file XrMath.h.
References xr::math::detail::implement_math_cast().
Referenced by xr::math::Pose::Invert(), xr::math::Pose::Multiply(), xr::math::Quaternion::RotationAxisAngle(), xr::math::Quaternion::RotationRollPitchYaw(), xr::math::Quaternion::Slerp(), and StoreXrPose().

|
inline |
Definition at line 267 of file XrMath.h.
References xr::math::detail::implement_math_cast().

|
inline |
Definition at line 271 of file XrMath.h.
References xr::math::detail::implement_math_cast().
Referenced by xr::math::Pose::Invert(), xr::math::Pose::Multiply(), and StoreXrPose().

|
inline |
Definition at line 275 of file XrMath.h.
References xr::math::detail::implement_math_cast().

|
inline |
Definition at line 550 of file XrMath.h.
Referenced by DecomposeProjectionMatrix(), and GetProjectionNearFar().
| xr::math::VECTOR2F_OPERATOR | ( | + | ) |
| xr::math::VECTOR2F_OPERATOR | ( | - | ) |
| VECTOR2F_OPERATOR * xr::math::VECTOR2F_OPERATOR | ( | / | ) |
| xr::math::VECTOR3F_OPERATOR | ( | - | ) |
|
constexpr |
|
constexpr |
Definition at line 12 of file XrMath.h.
Referenced by xr::math::Quaternion::IsNormalized().