A Clojure library for performing calculations suitable for 3D games using fast, immutable data structures.
Euclidean is written in pure Clojure, but has performance comparable to vector libraries written in Java, such as Vectorz.
Add the following dependency to your project.clj
file:
[euclidean "0.2.0"]
(require '[euclidean.math.vector :as v])
(require '[euclidean.math.quaternion :as q])
(q/rotate (q/yaw Math/PI) (v/vector 0 0 1))
Copyright © 2013 James Reeves
Distributed under the Eclipse Public License, the same as Clojure.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close