Module Raylib.Vector4

type t'
type t = t' ctyp
val t : t Ctypes.typ
val create : float -> float -> float -> float -> t

create x y z w

val x : t -> float

Vector x component

val y : t -> float

Vector y component

val z : t -> float

Vector z component

val w : t -> float

Vector w component

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