Liking cljdoc? Tell your friends :D

dali.geom


->standard-angleclj

(->standard-angle x)

->svg-angleclj

(->svg-angle x)

angleclj

(angle [x1 y1] [x2 y2])

distanceclj

(distance [x1 y1] [x2 y2])

distance-squaredclj

(distance-squared [x1 y1] [x2 y2])

slopeclj

(slope [x1 y1] [x2 y2])

v+clj

(v+ [x1 y1] [x2 y2])

Add two vectors.

Add two vectors.
raw docstring

v-clj

(v- [x y])
(v- [x1 y1] [x2 y2])

Subtract the second vector from the first or negate a vector (single arity).

Subtract the second vector from the first or negate a
vector (single arity).
raw docstring

v-halfclj

(v-half v)

Scale vector to half its magnitude.

Scale vector to half its magnitude.
raw docstring

v-scaleclj

(v-scale [x y] a)

Scale vector.

Scale vector.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close