Use proper function names when specifying vertex attributes

This commit is contained in:
Alberto Mardegan 2025-01-13 18:46:16 +03:00
parent e69bf29a08
commit 0736f9bbb2
2 changed files with 56 additions and 50 deletions

View file

@ -114,6 +114,12 @@ static inline void GXPosition3f32(const f32 x, const f32 y, const f32 z) {
GXWGFifo.f32 = z;
}
static inline void GXNormal3s16(const s16 x, const s16 y, const s16 z) {
GXWGFifo.s16 = x;
GXWGFifo.s16 = y;
GXWGFifo.s16 = z;
}
static inline void GXNormal3f32(const f32 x, const f32 y, const f32 z) {
GXWGFifo.f32 = x;
GXWGFifo.f32 = y;