Sourcetype pattern = | Plain| Checker of int * float| Marble of int * float| Wood of int * float| Solid_function of Vec3.t -> int| Uv_function of u:float -> v:float -> int
Sourcetype primitive = | Ball| Cube| Cylinder| Cone| Torus of float| Half_space