zero.c 313 B

1234567891011121314151617181920
  1. /* zero.c */
  2. #undef TRACE
  3. #undef DEBUG
  4. #include "ransurf.h"
  5. void ZeroMapCells(void)
  6. {
  7. int Row, Col;
  8. G_debug(2, "ZeroMapCells()");
  9. for (Row = 0; Row < Rs; Row++) {
  10. for (Col = 0; Col < Cs; Col++)
  11. Surface[Row][Col] = 0.0;
  12. }
  13. }