From 03dddf29a255c55e40c57979fa7f2956df902ec9 Mon Sep 17 00:00:00 2001 From: MegaMech Date: Wed, 12 Jun 2024 09:29:25 -0600 Subject: [PATCH] Update GenericArray.h --- src/port/resource/type/GenericArray.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/port/resource/type/GenericArray.h b/src/port/resource/type/GenericArray.h index 7043faf5..d0b65095 100644 --- a/src/port/resource/type/GenericArray.h +++ b/src/port/resource/type/GenericArray.h @@ -26,6 +26,11 @@ struct Vec3i { Vec3i(int32_t x, int32_t y, int32_t z) : x(x), y(y), z(z) {} }; +struct Vec3iu { + uint32_t x, y, z; + Vec3iu(uint32_t x, uint32_t y, uint32_t z) : x(x), y(y), z(z) {} +}; + struct Vec4f { float x, y, z, w; Vec4f(float x, float y, float z, float w) : x(x), y(y), z(z), w(w) {} @@ -52,4 +57,4 @@ class GenericArray : public Ship::Resource { std::vector mData; size_t mSize; }; -} \ No newline at end of file +}