package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val create : float -> float -> float -> float -> t
val x : t -> float
val y : t -> float
val z : t -> float
val w : t -> float
val set_x : t -> float -> unit
val set_y : t -> float -> unit
val set_z : t -> float -> unit
val set_w : t -> float -> unit
val add : t -> t -> t
val add_value : t -> float -> t
val subtract : t -> t -> t
val subtract_value : t -> float -> t
val identity : unit -> t
val length : t -> float
val normalize : t -> t
val invert : t -> t
val multiply : t -> t -> t
val scale : t -> float -> t
val divide : t -> t -> t
val lerp : t -> t -> float -> t
val nlerp : t -> t -> float -> t
val slerp : t -> t -> float -> t
val from_vector3_to_vector3 : Vector3.t -> Vector3.t -> t
val from_matrix : Matrix.t -> t
val to_matrix : t -> Matrix.t
val from_axis_angle : Vector3.t -> float -> t
val to_axis_angle : t -> Vector3.t ptr -> float ptr -> unit
val from_euler : float -> float -> float -> t
val to_euler : t -> Vector3.t
val transform : t -> Matrix.t -> t
OCaml

Innovation. Community. Security.