almost there
[csgray] / src / main.c
index 9ea196e..7cff960 100644 (file)
@@ -30,7 +30,7 @@ int main(int argc, char **argv)
 
        oa = csg_sphere(0, 0, 0, 1);
        ob = csg_sphere(0, 1, 0, 0.8);
-       oc = csg_intersection(oa, ob);
+       oc = csg_union(oa, ob);
 
        csg_add_object(oc);