Module Gpu_scene

type vec3 = float * float * float
type material =
  1. | Flat
  2. | Textured of string
type vertex_data = vec3 * vec3 * Playground.color * (float * float)
val group_by_material : ?on_cached:(Playground3d.cached -> unit) -> Playground3d.shape3d list -> (material * vertex_data list) list
val floats_per_vertex : int
val vertex_floats_of_group : vertex_data list -> float array * int
val light_dir : vec3