|
@@ -147,6 +147,11 @@ void application::render()
|
|
|
renderTime.start();
|
|
|
|
|
|
graphics::clearScreen(0xFF056263);
|
|
|
+
|
|
|
+ // Draw the liquid
|
|
|
+ graphics::draw::fillRect(this->liquid.x + this->liquid.w / 2, this->liquid.y + this->liquid.h / 2,
|
|
|
+ this->liquid.w, this->liquid.h, 0xFF633713);
|
|
|
+
|
|
|
for (auto part:this->particles)
|
|
|
{
|
|
|
graphics::draw::fillCircle(part->position.x, part->position.y, part->radius, 0xFFFFFFFF);
|