Update GenericArray.h

This commit is contained in:
MegaMech
2024-06-12 09:29:25 -06:00
committed by Sonic Dreamcaster
parent 7f2aa148cc
commit 03dddf29a2
+6 -1
View File
@@ -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<uint8_t> {
std::vector<uint8_t> mData;
size_t mSize;
};
}
}