Rudimentary gravity

This commit is contained in:
Johan Maasing 2025-01-27 20:29:50 +01:00
parent a2f1e11af8
commit d6b3be83d5
3 changed files with 56 additions and 32 deletions

View file

@ -24,15 +24,16 @@ namespace simulation
void step(
double millisecondsSinceLastStep,
SimulationGrid grid
SimulationGrid* grid
);
unsigned int getCellOffset(
int getCellOffset(
unsigned char x,
unsigned char y,
unsigned char z,
SimulationGrid grid);
SimulationGrid* grid);
void prepareForNextStep(SimulationGrid* grid);
}
#endif //SIMULATION_H