Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h_grid[(GRID_X * Y ) + X] += prob;
- for (i = 0; i < GRID_LEN; i++)
- {
- if (i%GRID_X == 0 && i != 0)
- fprintf(fresult, "\n");
- if(h_grid[i] == 0.0f)
- fprintf(fresult, "0.0 ");
- else
- fprintf(fresult, "%G ", h_grid[i]);
- }
Add Comment
Please, Sign In to add comment