dualquat: fix example documentation
@@ -31,9 +31,8 @@ func raiseDual(p point) dualquat.Number {
}
}
-// transform performs the quaternion rotation of p by the given quaternion
-// and scaling by the scale factor. The rotations are normalized to unit
-// vectors.
+// transform performs the transformation of p by the given dual quaternions.
+// The transformations are normalized to unit vectors.
func transform(p point, by ...dualquat.Number) point {
if len(by) == 0 {
return p
