]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/quaternions/quaternions-docs.factor
factor: trim using lists
[factor.git] / basis / math / quaternions / quaternions-docs.factor
index 1a381c6287ac40d52b5be19d58b428a79521dbfb..d4d017a9fe0c2f892a910f58b9d41e2acf5f47b1 100644 (file)
@@ -1,4 +1,4 @@
-USING: help.markup help.syntax math math.vectors vectors ;
+USING: help.markup help.syntax math ;
 IN: math.quaternions
 
 HELP: q+
@@ -30,7 +30,7 @@ HELP: q/
 { $examples { $example "USING: math.quaternions prettyprint ;" "{ 0 0 0 1 } { 0 0 1 0 } q/ ." "{ 0 1 0 0 }" } } ;
 
 HELP: q*n
-{ $values { "q" "a quaternion" } { "n" real } { "q" "a quaternion" } }
+{ $values { "q" "a quaternion" } { "n" real } { "r" "a quaternion" } }
 { $description "Multiplies each element of " { $snippet "q" } " by real value " { $snippet "n" } "." }
 { $notes "To multiply a quaternion with a complex value, use " { $link c>q } " " { $link q* } "." } ;
 
@@ -42,4 +42,3 @@ HELP: c>q
 HELP: euler
 { $values { "phi" number } { "theta" number } { "psi" number } { "q" "a quaternion" } }
 { $description "Convert a rotation given by Euler angles (phi, theta, and psi) to a quaternion." } ;
-