1
Fork 0
sm64/lib/src/guTranslateF.c

15 lines
296 B
C
Raw Normal View History

2019-08-25 00:46:40 -04:00
#include "libultra_internal.h"
void guTranslateF(float m[4][4], float x, float y, float z) {
guMtxIdentF(m);
m[3][0] = x;
m[3][1] = y;
m[3][2] = z;
}
2020-12-03 14:26:38 -05:00
2019-08-25 00:46:40 -04:00
void guTranslate(Mtx *m, float x, float y, float z) {
float mf[4][4];
guTranslateF(mf, x, y, z);
guMtxF2L(mf, m);
}