aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qquickturbulence_p.h
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2020-11-03 10:29:22 +0200
committerKaj Grönholm <kaj.gronholm@qt.io>2020-11-05 10:00:37 +0200
commit5fa85ded71f4bd81b6332d8aecda3edd658f7a39 (patch)
tree96afc61930beab961bbc99e570415744b22b479f /src/particles/qquickturbulence_p.h
parent43d0eae81e30ae8c8502e68d56c6c8b7e2c30215 (diff)
Cleanup and optimize particles
Minor improvements while going through the particles sources: - Reduce getShadowDatum() calls - Remove unused m_lastLevel, reloadColor(), m_available m_velocityFromMovement, maximumAlive, m_pending, m_lastT, m_last_last_last_emitter, modelIndex - Color4ub structs can be assigned directly - Fix pri for shaders_ng files - Other minor refactoring Task-number: QTBUG-88124 Change-Id: I5768fed9f4b6379a698849c23436fa38169833a4 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/particles/qquickturbulence_p.h')
-rw-r--r--src/particles/qquickturbulence_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/particles/qquickturbulence_p.h b/src/particles/qquickturbulence_p.h
index e6204f4f0b..a4aef063de 100644
--- a/src/particles/qquickturbulence_p.h
+++ b/src/particles/qquickturbulence_p.h
@@ -112,7 +112,6 @@ private:
void initializeGrid();
qreal boundsRespectingField(int x, int y);
qreal m_strength;
- qreal m_lastT;
int m_gridSize;
qreal** m_field;
QPointF** m_vectorField;