Add threshold property to Friction
authorAlan Alpert <alan.alpert@nokia.com>
Thu, 20 Oct 2011 11:01:28 +0000 (21:01 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 24 Oct 2011 10:36:29 +0000 (12:36 +0200)
commit89fb0fb65d0071e88f24b8022eb7070956a7a1a7
tree618a7c6dd18b692c64c1ff6d6d3d91e0c3979176
parenta2b1401b8cacc8fc7a23e17deb5f4e9f4bd34f80
Add threshold property to Friction

So much easier than calculating exact counterbalancing acceleration.

Change-Id: I7cc43cc2e4d0ad39d1996d432f0e29ccf7bff554
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/particles/qsgfriction.cpp
src/declarative/particles/qsgfriction_p.h
tests/auto/particles/qsgfriction/data/threshold.qml [new file with mode: 0644]
tests/auto/particles/qsgfriction/tst_qsgfriction.cpp