projects
/
profile
/
ivi
/
qtdeclarative.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some more properties to JS particle type
[profile/ivi/qtdeclarative.git]
/
src
/
declarative
/
particles
/
qsgemitter.cpp
diff --git
a/src/declarative/particles/qsgemitter.cpp
b/src/declarative/particles/qsgemitter.cpp
index
f05ee6a
..
10d59df
100644
(file)
--- a/
src/declarative/particles/qsgemitter.cpp
+++ b/
src/declarative/particles/qsgemitter.cpp
@@
-220,9
+220,9
@@
void QSGBasicEmitter::emitWindow(int timeStamp)
// Particle speed
const QPointF &speed = m_speed->sample(newPos);
- datum->
s
x = speed.x()
+ datum->
v
x = speed.x()
+ m_speed_from_movement * vx;
- datum->
s
y = speed.y()
+ datum->
v
y = speed.y()
+ m_speed_from_movement * vy;
// Particle acceleration