support for up to ~10K particles

This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent 29cfd4ab4f
commit 088f1d6416
5 changed files with 49 additions and 14 deletions
+2 -1
View File
@@ -34,10 +34,11 @@ namespace vb01{
Vector2 texCoords;
};
struct Particle{
int VAO;
glm::mat4 mat;
s64 time=0,timeToLive=0;
Vector4 color;
Vector3 dir;
Vector3 dir,trans;
Vector2 size;
};