mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-08-16 17:58:29 +02:00
17 lines
398 B
OCaml
17 lines
398 B
OCaml
|
type t
|
||
|
val zero : t
|
||
|
val of_float_triplet : float * float * float -> t
|
||
|
val of_3_floats : float -> float -> float -> t
|
||
|
val to_string : t -> string
|
||
|
val x : t -> float
|
||
|
val y : t -> float
|
||
|
val z : t -> float
|
||
|
val coord : t -> int -> float
|
||
|
val to_float_array : t -> float array
|
||
|
val (|-) : t -> t -> t
|
||
|
val (|+) : t -> t -> t
|
||
|
val (|.) : float -> t -> t
|
||
|
val dot : t -> t -> float
|
||
|
val norm : t -> float
|
||
|
|