The-Powder-Toy/elements/nbhl.cpp
Simon Robertshaw b0ea52690b Initial
2012-01-08 17:39:03 +00:00

7 lines
125 B
C++

#include "element.h"
int update_NBHL(UPDATE_FUNC_ARGS) {
sim->gravmap[(y/CELL)*(XRES/CELL)+(x/CELL)] += 0.1f;
return 0;
}