From 7b22f8de15d7a4000d2883a875b1b8fe9cc9041b Mon Sep 17 00:00:00 2001 From: kabiskac Date: Fri, 31 May 2024 20:08:55 +0200 Subject: [PATCH] Added a GXPosition function --- include/dolphin/gx/GXVert.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/dolphin/gx/GXVert.h b/include/dolphin/gx/GXVert.h index d870fc51..b7122fb8 100644 --- a/include/dolphin/gx/GXVert.h +++ b/include/dolphin/gx/GXVert.h @@ -102,6 +102,12 @@ static inline void GXPosition3s16(const s16 x, const s16 y, const s16 z) { GXWGFifo.s16 = z; } +static inline void GXPosition3u8(const u8 x, const u8 y, const u8 z) { + GXWGFifo.u8 = x; + GXWGFifo.u8 = y; + GXWGFifo.u8 = z; +} + static inline void GXPosition3f32(const f32 x, const f32 y, const f32 z) { GXWGFifo.f32 = x; GXWGFifo.f32 = y;