Selaa lähdekoodia

CPUParticles2D - non-interpolated global mode use global space

Changes the implementation of non-interpolated global mode particles so that the vertices are specified in proper global space instead of local space (vertices were previously back transformed by the inverse of the parent transform).
lawnjelly 2 vuotta sitten
vanhempi
commit
bc1426dd70
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      scene/2d/cpu_particles_2d.h

+ 1 - 1
scene/2d/cpu_particles_2d.h

@@ -35,7 +35,7 @@
 #include "scene/2d/node_2d.h"
 #include "scene/resources/texture.h"
 
-#define GODOT_CPU_PARTICLES_2D_LEGACY_COMPATIBILITY
+// #define GODOT_CPU_PARTICLES_2D_LEGACY_COMPATIBILITY
 
 class CPUParticles2D : public Node2D {
 private: