package gg

  1. Overview
  2. Docs
type t = quat
val v : float -> float -> float -> float -> quat
val zero : quat
val id : quat
val mul : quat -> quat -> quat
val conj : quat -> quat
val unit : quat -> quat
val inv : quat -> quat
val slerp : quat -> quat -> float -> quat
val squad : quat -> quat -> quat -> quat -> float -> quat
val nlerp : quat -> quat -> float -> quat
val of_m3 : m3 -> quat
val of_m4 : m4 -> quat
val rot_map : v3 -> v3 -> quat
val rot_axis : v3 -> float -> quat
val rot_zyx : v3 -> quat
val to_rot_axis : quat -> v3 * float
val to_rot_zyx : quat -> v3
val apply3 : quat -> v3 -> v3
val apply4 : quat -> v4 -> v4
OCaml

Innovation. Community. Security.