The-Powder-Toy/elements/nbhl.cpp

7 lines
125 B
C++
Raw Normal View History

2012-01-08 11:39:03 -06:00
#include "element.h"
int update_NBHL(UPDATE_FUNC_ARGS) {
sim->gravmap[(y/CELL)*(XRES/CELL)+(x/CELL)] += 0.1f;
return 0;
}