updating blur shading, broken

This commit is contained in:
2026-07-11 16:41:50 -07:00
parent c1ae5b0f74
commit f7a5955dbf
10 changed files with 102 additions and 64 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ namespace Polyparti {
void addParticle(float x, float y, float vx, float vy);
void deleteParticle(int index);
void updateField(std::vector<XYVector> verticies);
void updateField(std::vector<XYVector> verticies, double time);
const std::vector<XYVector>& getPositions() const;
int getSize();
void setColor(std::string newColor);
@@ -46,7 +46,7 @@ namespace Polyparti {
std::unique_ptr<ImplRoom> implRoom;
struct fieldInfo {
int count;
float x, y, deg_start, deg_end, life, decayRate;
float x, y, deg_start, deg_end, start, life, decayRate;
int screenWidth, screenHeight;
std::string color;
};