remove layer usage to reduce vram consumption

This commit is contained in:
2026-10-03 20:26:00 +02:00
parent fc672924d1
commit dc99d6677c
20 changed files with 1455 additions and 114 deletions
+7
View File
@@ -108,6 +108,7 @@ class BlobRect : public BlobShape {
private:
void checkAtRest(float speed);
void beginRetire();
// Physics state
QPointF m_prevScenePos;
@@ -115,6 +116,12 @@ class BlobRect : public BlobShape {
bool m_physicsActive = false;
bool m_hasPrevPos = false;
bool m_retiring = false;
QElapsedTimer m_retireElapsed;
float m_retire00 = 1.0f;
float m_retire01 = 0.0f;
float m_retire11 = 1.0f;
// Symmetric 2x2 deformation matrix components (3 independent: m00, m01,
// m11) Rest state is identity: m00=1, m01=0, m11=1
float m_dm00 = 1.0f;