(compose position euler-or-quaternion scale)
(from-col-seq sq)
(from-row-seq sq)
(identity-matrix4)
(invert m)
Inverts this matrix, using the analytic method. You can not invert with a determinant of zero. If you attempt this, the method produces a zero matrix instead.
Inverts this matrix, using the analytic method. You can not invert with a determinant of zero. If you attempt this, the method produces a zero matrix instead.
(decompose m)
Decomposes this matrix into it's position, quaternion and scale components.
Decomposes this matrix into it's position, quaternion and scale components.
(set-position m v)
(scale m v)
Multiplies the columns of this matrix by vector v.
Multiplies the columns of this matrix by vector v.
(extract-rotation m)
Extracts the rotation component of the supplied matrix m into this matrix's rotation component.
Extracts the rotation component of the supplied matrix m into this matrix's rotation component.
(transpose m1)
(almost-equals m1 m2)
(determinant m)
(equals m1 m2)
(clone' m)
(translate m v)
Sets the position component for this matrix from vector v,
Sets the position component for this matrix from vector v,
(multiply m1 m2)
Sets this matrix to m1 * m2.
Sets this matrix to m1 * m2.
(make-basis x-axis y-axis z-axis)
(make-rotation-axis axis theta)
(make-rotation-from-euler e)
(make-rotation-from-quaternion q)
(make-rotation-x theta)
(make-rotation-y theta)
(make-rotation-z theta)
(make-scale x y z)
(make-shear x y z)
(make-translation x y z)
(matrix4)
(matrix4 sq)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close