package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val create : float -> float -> float -> t
val x : t -> float
val y : t -> float
val z : t -> float
val set_x : t -> float -> unit
val set_y : t -> float -> unit
val set_z : t -> float -> unit
val zero : unit -> t
val one : unit -> t
val add : t -> t -> t
val add_value : t -> float -> t
val subtract : t -> t -> t
val subtract_value : t -> float -> t
val scale : t -> float -> t
val multiply : t -> t -> t
val cross_product : t -> t -> t
val perpendicular : t -> t
val length : t -> float
val length_sqr : t -> float
val dot_product : t -> t -> float
val distance : t -> t -> float
val negate : t -> t
val divide : t -> t -> t
val normalize : t -> t
val ortho_normalize : t ptr -> t ptr -> unit
val transform : t -> Matrix.t -> t
val rotate_by_quaternion : t -> Vector4.t -> t
val lerp : t -> t -> float -> t
val reflect : t -> t -> t
val min : t -> t -> t
val max : t -> t -> t
val barycenter : t -> t -> t -> t -> t
val unproject : t -> Matrix.t -> Matrix.t -> t
OCaml

Innovation. Community. Security.