added cylinder primitive
[csgray] / scene
diff --git a/scene b/scene
index ed67f5c..cbbc3d8 100644 (file)
--- a/scene
+++ b/scene
@@ -2,16 +2,17 @@
 # test scene for the CSG raytracer
 csgray_scene {
        viewer {
-               position = [0, 1, 5]
+               position = [-2, 1.5, 5]
                target = [0, 0, 0]
                fov = 50
        }
 
        subtract {
                subtract {
-                       sphere {
+                       cylinder {
                                position = [0, 0, 0]
                                radius = 1
+                               height = 2
                                color = [1, 0.1, 0.05]
                                roughness = 0.3
                        }