Changeset 11641 for code/branches
- Timestamp:
- Dec 4, 2017, 6:36:34 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AsteroidMining_HS17/src/modules/asteroidmining/AsteroidMinable.cc
r11640 r11641 336 336 337 337 // Randomnised spawning points for the new asteroids 338 float phi[num] = {0.0}; // assuming that it gets initialised to 0. Add (= {0.0})?339 float theta[num] = {0.0};338 float phi[num]; // assuming that it gets initialised to 0. Add (= {0.0})? 339 float theta[num]; 340 340 float piG = 3.1415927410125732421875; //pi; // Math.pi ist statisch oder so. 341 341 … … 377 377 if(massRem>0){ // Required to avoid array of size 0 or access problems 378 378 int c = massRem; 379 float probDensity[c] = {0.0};379 float probDensity[c]; 380 380 381 381 int a = round(massRem/num);
Note: See TracChangeset
for help on using the changeset viewer.