package tiny_libs
Module SolidSource
Source
type t = | Sphere of Vec3.t * float * surface| Plane of Vec3.t * float * surface| Triangle of {points : Vec3.t * Vec3.t * Vec3.t;normals : Vec3.t * Vec3.t * Vec3.t;uvs : (float * float) * (float * float) * (float * float);surface : surface;
}| Placed of {primitive : primitive;transform : Transform.t;surface : surface;
}| Csg of Csg.op * t * t