mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-03 01:07:27 +00:00
75bb9b7912
* Refresh 13 Co-authored-by: n64 <n64>
15 lines
309 B
C
15 lines
309 B
C
#include "libultra_internal.h"
|
|
|
|
void guScaleF(float mf[4][4], float x, float y, float z) {
|
|
guMtxIdentF(mf);
|
|
mf[0][0] = x;
|
|
mf[1][1] = y;
|
|
mf[2][2] = z;
|
|
mf[3][3] = 1.0;
|
|
}
|
|
|
|
void guScale(Mtx *m, float x, float y, float z) {
|
|
float mf[4][4];
|
|
guScaleF(mf, x, y, z);
|
|
guMtxF2L(mf, m);
|
|
}
|