From 6e27c253ed7f1af0e1cb94fff016538015628bed Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 26 Oct 2024 21:30:45 -0400 Subject: initialize position --- balls.cl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'balls.cl') diff --git a/balls.cl b/balls.cl index 540ed8c..88666e9 100644 --- a/balls.cl +++ b/balls.cl @@ -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; -- cgit v1.2.3