package lablgl

  1. Overview
  2. Docs
type t
val create : unit -> t
val begin_curve : t -> unit
val begin_surface : t -> unit
val begin_trim : t -> unit
val end_curve : t -> unit
val end_surface : t -> unit
val end_trim : t -> unit
val load_sampling_matrices : t -> model:[ `float ] Raw.t -> persp:[ `float ] Raw.t -> view:[ `int ] Raw.t -> unit
val curve : t -> knots:float array -> control:float array -> order:int -> kind:[< GlMap.target ] -> unit
val pwl_curve : t -> kind:[ `trim_2 | `trim_3 ] -> float array -> unit
val surface : t -> sknots:float array -> tknots:float array -> control:float array array -> sorder:int -> torder:int -> target:[< Gl.target ] -> unit
type property = [
  1. | `auto_load_matrix of bool
  2. | `culling of bool
  3. | `display_mode of [ `fill | `patch | `polygon ]
  4. | `parametric_tolerance of float
  5. | `sampling_method of [ `domain_distance | `parametric_error | `path_length ]
  6. | `sampling_tolerance of int
  7. | `u_step of int
  8. | `v_step of int
]
val property : t -> property -> unit
OCaml

Innovation. Community. Security.