wavelength 1.0.0
Loading...
Searching...
No Matches
transformops.h
Go to the documentation of this file.
1#pragma once
2
3extern "C" {
4
17void InversMatrix(float *pDst, const float *pSrc);
18
32void sceVu0MulAffineMatrix(float *pDst, const float *pA, const float *pB);
33
47void sceVu0MulAffineMatrixXyz(float *pDst, const float *pA, const float *pB);
48
49} // extern "C"
50
51namespace Rnd {
52
67void MakeRotMatrix(const float *pAngles, float *pMat3Rows);
68
69} // namespace Rnd
70
89void Mat33BuildOrthonormal(const float *pAxisY, const float *pReference, float *pMat3Rows);
90
91namespace Rnd {
92
104void Scale(const float *pScale, const float *pMat3Rows, float *pOut);
105
106} // namespace Rnd
Definition gfxtunnel.h:41
void MakeRotMatrix(const Quat &quat, float *pMat3Rows)
Convert a rotation quaternion to a rotation matrix.
void Scale(const float *pScale, const float *pMat3Rows, float *pOut)
Scale each row of a rotation matrix by one component of a vector.
void Mat33BuildOrthonormal(const float *pAxisY, const float *pReference, float *pMat3Rows)
Build an orthonormal basis around one axis and a reference direction.
void sceVu0MulAffineMatrix(float *pDst, const float *pA, const float *pB)
Multiply two affine transforms across all four words of every row.
void sceVu0MulAffineMatrixXyz(float *pDst, const float *pA, const float *pB)
Multiply two affine transforms in the first three words of every row.
void InversMatrix(float *pDst, const float *pSrc)
Invert a rigid transform.