package tiny_appkits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Modeler_viewSource

Sourcetype view =
  1. | Top
  2. | Front
  3. | Right
  4. | Camera_view
Sourceval name : view -> string
Sourceval axes : view -> int * int
Sourceval normal : view -> int * float
Sourceval project : view -> Modeler.v3 -> float * float
Sourceval unproject : view -> (float * float) -> Modeler.v3
Sourceval camera : ?fov:float -> Modeler.t -> target:Modeler.v3 -> Camera.t
Sourceval perspective : Camera.t -> aspect:float -> Modeler.v3 -> (float * float) option
Sourceval pick : to_screen:(Modeler.v3 -> (float * float) option) -> tolerance:float -> Modeler.t -> (float * float) -> string option