package raylib

  1. Overview
  2. Docs
type t = Types.Vector2.t Ctypes.structure
val t : Types.Vector2.t Ctypes.structure Ctypes_static.typ
val create : float -> float -> (Types.Vector2.t, [ `Struct ]) Ctypes.structured
val x : (Types.Vector2.t, [ `Struct ]) Ctypes.structured -> float
val y : (Types.Vector2.t, [ `Struct ]) Ctypes.structured -> float
val set_x : (Types.Vector2.t, [ `Struct ]) Ctypes.structured -> float -> unit
val set_y : (Types.Vector2.t, [ `Struct ]) Ctypes.structured -> float -> unit
OCaml

Innovation. Community. Security.