rtm/qvf.h¶
#include "rtm/qvf.h"
qv_cast¶
vqf qv_cast(vqd input)
Casts a VQ transform float64 variant to a float32 variant.
Deprecated
Use 'vq_cast' instead. To be removed in 2.5.
qv_from_matrix¶
vqf qv_from_matrix(matrix3x3f input)
Converts a rotation 3x3 matrix into a VQ transform.
Deprecated
Use 'vq_from_matrix' instead. To be removed in 2.5.
vqf qv_from_matrix(matrix3x4f input)
Converts a rotation 3x4 affine matrix into a VQ transform.
Deprecated
Use 'vq_from_matrix' instead. To be removed in 2.5.
qv_mul¶
vqf qv_mul(vqf lhs, vqf rhs)
Multiplies two VQ transforms.
Deprecated
Use 'vq_mul' instead. To be removed in 2.5.
qv_mul_point3¶
vector4f qv_mul_point3(vector4f point, vqf vq)
Multiplies a VQ transform and a 3D point.
Deprecated
Use 'vq_mul_point3' instead. To be removed in 2.5.
qv_inverse¶
vqf qv_inverse(vqf input)
Returns the inverse of the input VQ transform.
Deprecated
Use 'vq_inverse' instead. To be removed in 2.5.
qv_normalize¶
vqf qv_normalize(vqf input)
Returns a VQ transform with the rotation part normalized.
Deprecated
Use 'vq_normalize' instead. To be removed in 2.5.
qv_lerp¶
vqf qv_lerp(vqf start, vqf end, float alpha)
Per component linear interpolation of the two inputs at the specified alpha.
Deprecated
Use 'vq_lerp' instead. To be removed in 2.5.
qv_slerp¶
vqf qv_slerp(vqf start, vqf end, float alpha)
Per component spherical interpolation of the two inputs at the specified alpha.
Deprecated
Use 'vq_slerp' instead. To be removed in 2.5.
qv_is_finite¶
bool qv_is_finite(vqf input)
Returns true if the input VQ does not contain any NaN or Inf, otherwise false.
Deprecated
Use 'vq_is_finite' instead. To be removed in 2.5.
qv_set¶
constexpr vqf qv_set(quatf rotation, vector4f translation)
Creates a VQ transform from a rotation quaternion and a translation.
Deprecated
Use 'vq_set' instead. To be removed in 2.5.
qv_identity¶
vqd qv_identity()
Returns the identity VQ transform.
Deprecated
Use 'vq_identity' instead. To be removed in 2.5.
The return value also converts to vqf.