CCroz hace 1 año
padre
commit
5639d824d1
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Cpp/main.cpp
  2. BIN
      Cpp/particle

+ 5 - 0
Cpp/main.cpp

@@ -97,6 +97,11 @@ int main(int argc, char *argv[]){
                     map.decay = 1000;
                     map.diffusion = 0.3;
                     map.steering = 0;
+                } else if(event.key.keysym.scancode == SDL_SCANCODE_D){
+                    map.increase = 20;
+                    map.decay = 13;
+                    map.diffusion = 1.5;
+                    map.steering = 180;
                 }
             }
         }

BIN
Cpp/particle