Skip to content

rtm/qvvf.h

#include "rtm/qvvf.h"

qvv_cast

vqvf qvv_cast(vqvd input)

Casts a VQV transform float64 variant to a float32 variant.

Deprecated

Use 'vqv_cast' instead. To be removed in 2.5.

qvv_from_matrix

vqvf qvv_from_matrix(matrix3x3f input)

Converts a pure rotation 3x3 matrix into a VQV transform.

Deprecated

Use 'vqv_from_matrix' instead. To be removed in 2.5.

vqvf qvv_from_matrix(matrix3x4f input)

Converts a 3x4 affine matrix into a VQV transform.

Deprecated

Use 'vqv_from_matrix' instead. To be removed in 2.5.

qvv_mul

vqvf qvv_mul(vqvf lhs, vqvf rhs)

Multiplies two VQV transforms.

Deprecated

Use 'vqv_mul' instead. To be removed in 2.5.

qvv_mul_no_scale

vqvf qvv_mul_no_scale(vqvf lhs, vqvf rhs)

Multiplies two VQV transforms ignoring 3D scale.

Deprecated

Use 'vqv_mul_no_scale' instead. To be removed in 2.5.

qvv_mul_point3

vector4f qvv_mul_point3(vector4f point, vqvf vqv)

Multiplies a VQV transform and a 3D point.

Deprecated

Use 'vqv_mul_point3' instead. To be removed in 2.5.

qvv_mul_point3_no_scale

vector4f qvv_mul_point3_no_scale(vector4f point, vqvf vqv)

Multiplies a VQV transform and a 3D point ignoring 3D scale.

Deprecated

Use 'vqv_mul_point3_no_scale' instead. To be removed in 2.5.

qvv_inverse

vqvf qvv_inverse(vqvf input)

Returns the inverse of the input VQV transform.

Deprecated

Use 'vqv_inverse' instead. To be removed in 2.5.

vqvf qvv_inverse(vqvf input, vector4f fallback_scale, float threshold=1.0E-8F)

Returns the inverse of the input VQV transform with a fallback scale.

Deprecated

Use 'vqv_inverse' instead. To be removed in 2.5.

qvv_inverse_no_scale

vqvf qvv_inverse_no_scale(vqvf input)

Returns the inverse of the input VQV transform ignoring 3D scale.

Deprecated

Use 'vqv_inverse_no_scale' instead. To be removed in 2.5.

qvv_normalize

vqvf qvv_normalize(vqvf input)

Returns a VQV transform with the rotation part normalized.

Deprecated

Use 'vqv_normalize' instead. To be removed in 2.5.

qvv_lerp

vqvf qvv_lerp(vqvf start, vqvf end, float alpha)

Per component linear interpolation of the two inputs at the specified alpha.

Deprecated

Use 'vqv_lerp' instead. To be removed in 2.5.

qvv_lerp_no_scale

vqvf qvv_lerp_no_scale(vqvf start, vqvf end, float alpha)

Per component linear interpolation of the two inputs at the specified alpha, without the scale.

Deprecated

Use 'vqv_lerp_no_scale' instead. To be removed in 2.5.

qvv_slerp

vqvf qvv_slerp(vqvf start, vqvf end, float alpha)

Per component spherical interpolation of the two inputs at the specified alpha.

Deprecated

Use 'vqv_slerp' instead. To be removed in 2.5.

qvv_slerp_no_scale

vqvf qvv_slerp_no_scale(vqvf start, vqvf end, float alpha)

Per component spherical interpolation of the two inputs at the specified alpha, without the scale.

Deprecated

Use 'vqv_slerp_no_scale' instead. To be removed in 2.5.

qvv_is_finite

bool qvv_is_finite(vqvf input)

Returns true if the input VQV does not contain any NaN or Inf, otherwise false.

Deprecated

Use 'vqv_is_finite' instead. To be removed in 2.5.

qvv_set

constexpr vqvf qvv_set(quatf rotation, vector4f translation, vector4f scale)

Creates a VQV transform from a rotation quaternion, a translation, and a 3D scale.

Deprecated

Use 'vqv_set' instead. To be removed in 2.5.

qvv_identity

vqvd qvv_identity()

Returns the identity VQV transform.

Deprecated

Use 'vqv_identity' instead. To be removed in 2.5.

The return value also converts to vqvf.