mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
support for up to ~10K particles
This commit is contained in:
+2
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user