test blob bounciness

This commit is contained in:
2026-04-19 22:21:49 +02:00
parent 32c8b7311d
commit 007cb32690
8 changed files with 28 additions and 32 deletions
+2 -2
View File
@@ -14,8 +14,6 @@ BlobRect::~BlobRect() {
}
void BlobRect::updatePolish() {
BlobShape::updatePolish();
if (m_physicsActive) {
// Check if deformation is visually imperceptible
float totalDelta = std::abs(m_dm00 - 1.0f) + std::abs(m_dm01) + std::abs(m_dm11 - 1.0f);
@@ -41,6 +39,8 @@ void BlobRect::updatePolish() {
Qt::QueuedConnection);
}
}
BlobShape::updatePolish();
}
void BlobRect::updatePhysics() {