diff options
Diffstat (limited to 'balls.cl')
| -rw-r--r-- | balls.cl | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,13 +1,10 @@ -#define RADIUS 0.75f +#define RADIUS 0.15f __kernel void balls(__global float2 *position, __global float2 *vertices) { size_t id, nsegs; float theta; - position[0].x = 0.0f; - position[0].y = 0.0f; - /* Center of circle. */ vertices[0].x = position[0].x; vertices[0].y = position[0].y; |