#ifndef _NAIVE_BINNING_H_
#define _NAIVE_BINNING_H_

#include "utils.h"

/* count parameter used to be for only checking the array up until the
 * known-prior max index, but there didn't appear to be much benefit in doing so
 */
__global__ void bin_projectiles(Projectile* projs, int* bins, int* bin_counts,
                                int count, int bin_dim_x, int bin_dim_y,
                                float bin_w, float bin_h);

__global__ void update_binned(Projectile* projs, Projectile* projs_snapshot,
                              int* bins, int* bin_counts, int count,
                              float delta_t, int bin_dim_x, int bin_dim_y,
                              float bin_w, float bin_h);

#endif