Module Metal.Origin

Represents the origin of a region in 3D space. See MTLOrigin.

type t = {
  1. x : int;
  2. y : int;
  3. z : int;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
type mtl
val sexp_of_mtl : mtl -> Sexplib0.Sexp.t
val from_struct : mtl -> t
val to_value : t -> mtl
val make : x:int -> y:int -> z:int -> mtl