summaryrefslogtreecommitdiff
path: root/scene/3d/cpu_particles.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/cpu_particles.h')
-rw-r--r--scene/3d/cpu_particles.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/3d/cpu_particles.h b/scene/3d/cpu_particles.h
index 6a989251f1..6f267102fa 100644
--- a/scene/3d/cpu_particles.h
+++ b/scene/3d/cpu_particles.h
@@ -116,7 +116,7 @@ private:
const Particle *particles;
bool operator()(int p_a, int p_b) const {
- return particles[p_a].time < particles[p_b].time;
+ return particles[p_a].time > particles[p_b].time;
}
};
@@ -142,6 +142,8 @@ private:
int fixed_fps;
bool fractional_delta;
+ Transform inv_emission_transform;
+
volatile bool can_update;
DrawOrder draw_order;