Skip to content
Snippets Groups Projects

Resolves #63 bucket removal

Merged Nicolas Pope requested to merge issue/63/buckets into master
3 files
+ 82
218
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -662,6 +662,11 @@ inline __host__ __device__ void operator/=(int3 &a, int s)
@@ -662,6 +662,11 @@ inline __host__ __device__ void operator/=(int3 &a, int s)
a.x /= s; a.y /= s; a.z /= s;
a.x /= s; a.y /= s; a.z /= s;
}
}
 
// Comparison
 
inline __host__ __device__ bool operator==(const int3 &a, const int3 &b) {
 
return a.x == b.x && a.y == b.y && a.z == b.z;
 
}
 
// clamp
// clamp
inline __device__ __host__ int clamp(int f, int a, int b)
inline __device__ __host__ int clamp(int f, int a, int b)
{
{
Loading