package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.graphene/Ocgtk_graphene/Graphene/Matrix/class-matrix/index.html

Class Matrix.matrix

method determinant : unit -> float
method equal : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t -> bool
method equal_fast : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t -> bool
method get_value : int -> int -> float
method get_x_scale : unit -> float
method get_x_translation : unit -> float
method get_y_scale : unit -> float
method get_y_translation : unit -> float
method get_z_scale : unit -> float
method get_z_translation : unit -> float
method init_from_2d : float -> float -> float -> float -> float -> float -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_from_float : float array -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_from_matrix : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_from_vec4 : Ocgtk_graphene__.Vec3_and__vec4.Vec4.t -> Ocgtk_graphene__.Vec3_and__vec4.Vec4.t -> Ocgtk_graphene__.Vec3_and__vec4.Vec4.t -> Ocgtk_graphene__.Vec3_and__vec4.Vec4.t -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_frustum : float -> float -> float -> float -> float -> float -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_identity : unit -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_look_at : Ocgtk_graphene__.Vec3_and__vec4.Vec3.t -> Ocgtk_graphene__.Vec3_and__vec4.Vec3.t -> Ocgtk_graphene__.Vec3_and__vec4.Vec3.t -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_ortho : float -> float -> float -> float -> float -> float -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_perspective : float -> float -> float -> float -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_rotate : float -> Ocgtk_graphene__.Vec3_and__vec4.Vec3.t -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_scale : float -> float -> float -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_skew : float -> float -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method init_translate : Ocgtk_graphene__.Point3_d.t -> Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t
method is_2d : unit -> bool
method is_backface_visible : unit -> bool
method is_identity : unit -> bool
method is_singular : unit -> bool
method near : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t -> float -> bool
method print : unit -> unit
method rotate : float -> Ocgtk_graphene__.Vec3_and__vec4.Vec3.t -> unit
method rotate_euler : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Euler.t -> unit
method rotate_quaternion : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Quaternion.t -> unit
method rotate_x : float -> unit
method rotate_y : float -> unit
method rotate_z : float -> unit
method scale : float -> float -> float -> unit
method skew_xy : float -> unit
method skew_xz : float -> unit
method skew_yz : float -> unit
method translate : Ocgtk_graphene__.Point3_d.t -> unit
method as_matrix : Ocgtk_graphene__.Euler_and__matrix_and__plane_and__quaternion_and__ray_and__triangle.Matrix.t