Skip to content

Commit 58a40bd

Browse files
committed
clarification
1 parent bb263cf commit 58a40bd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

include/sys/math.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,15 @@ typedef struct {
175175
/*000C*/ Vec3f transl;
176176
} SRT;
177177

178-
// official name: mathMtxXFMF
178+
/**
179+
* Transforms a vector by a floating-point matrix.
180+
* Official name: mathMtxXFMF
181+
*/
179182
void mathMtxXFMF(const MtxF *mtx, float x, float y, float z, float *ox, float *oy, float *oz);
180-
// official name: mathMtxFastXFMF
183+
/**
184+
* Transforms a vector by a floating-point matrix, only considering the rotation part (3x3).
185+
* Official name: mathMtxFastXFMF
186+
*/
181187
void mathMtxFastXFMF(const MtxF *mf, const Vec3f *v, Vec3f *ov);
182188
// official name: mathMtxCatF
183189
void mathMtxCatF(const MtxF *m1, const MtxF *m2, MtxF *output);

0 commit comments

Comments
 (0)