Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/SB/Core/x/xMath3.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ extern const xQuat g_IQ;
extern const xVec3 g_O3;
extern xVec3 g_X3;
extern xVec3 g_Y3;
extern xVec3 g_NY3;
extern xVec3 g_Z3;
extern xMat4x3 g_I3;
extern xVec3 g_Onez;
Expand All @@ -92,7 +93,9 @@ void xMat4x3Mul(xMat4x3* o, const xMat4x3* a, const xMat4x3* b);
void xMat3x3Euler(xMat3x3* m, F32 yaw, F32 pitch, F32 roll);
void xMat4x3Toworld(xVec3* o, const xMat4x3* m, const xVec3* v);
void xMat3x3RotC(xMat3x3* m, F32 _x, F32 _y, F32 _z, F32 t);
void xMat3x3RotX(xMat3x3* m, F32 t);
void xMat3x3RotY(xMat3x3* m, F32 t);
void xMat3x3RotZ(xMat3x3* m, F32 t);
void xMat3x3MulRotC(xMat3x3* o, xMat3x3* m, F32 _x, F32 _y, F32 _z, F32 t);
void xMat4x3Identity(xMat4x3* m);
void xMat3x3Normalize(xMat3x3* o, const xMat3x3* m);
Expand Down
3 changes: 3 additions & 0 deletions src/SB/Core/x/xMathInlines.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ F32 xpow(F32 x, F32 y);

F32 SQ(F32 x);

F32 LERP(F32 x, F32 y, F32 z);
U8 LERP(float x, U8 y, U8 z);

void xsqrtfast(F32& out, F32 x);

#endif
Loading