package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module QuatSource

Sourcetype t = {
  1. w : float;
  2. v : Vec3.t;
}
Sourceval identity : t
Sourceval of_axis_angle : Vec3.t -> float -> t
Sourceval to_axis_angle : t -> Vec3.t * float
Sourceval mul : t -> t -> t
Sourceval conjugate : t -> t
Sourceval length : t -> float
Sourceval normalize : t -> t
Sourceval rotate : t -> Vec3.t -> Vec3.t
Sourceval to_mat3 : t -> Mat3.t
Sourceval to_euler_xyz : t -> float * float * float
Sourceval derivative : spin:Vec3.t -> t -> t
Sourceval integrate : spin:Vec3.t -> dt:float -> t -> t
Sourceval turned_by : spin:Vec3.t -> dt:float -> t -> t