exception Matrix2D_exception of string
Raised when an error occurs (usually a division by zero)
Optimized operations on 2D (3x3) float matrices
exception Matrix2D_exception of string
type t
val zero : unit -> t
val identity : unit -> t
val translation : Vector2f.t -> t
val scaling : Vector2f.t -> t
val rotation : float -> t
val transformation : translation:Vector2f.t -> rotation:float -> scale:Vector2f.t -> origin:Vector2f.t -> t
val product : t -> t -> t
val transpose : t -> t
val translate : Vector2f.t -> t -> t
val scale : Vector2f.t -> t -> t
val rotate : float -> t -> t
val times : t -> Vector2f.t -> Vector2f.t
val print : t -> string
val projection : size:Vector2f.t -> t
val iprojection : size:Vector2f.t -> t
val to_bigarray : t -> (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t