summaryrefslogtreecommitdiff
path: root/altoslib/AltosRotation.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-06-27 21:37:50 -0700
committerKeith Packard <keithp@keithp.com>2017-06-27 21:37:50 -0700
commit13abb6739ae9be5a8733724c5d9b3f714f32bea4 (patch)
tree9658273b966ed1469f5235b65c180828279963c1 /altoslib/AltosRotation.java
parent5a174f4a2caae97b5038eb92ab85303e736b7c2e (diff)
altoslib: Fix comments in AltosQuaternion and AltosRotation
Especially the nested comment which borked the compile Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosRotation.java')
-rw-r--r--altoslib/AltosRotation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosRotation.java b/altoslib/AltosRotation.java
index 305f932a..eec8c529 100644
--- a/altoslib/AltosRotation.java
+++ b/altoslib/AltosRotation.java
@@ -40,7 +40,7 @@ public class AltosRotation extends AltosQuaternion {
* = (a.z * -a.z) + (-a.y * -a.y) - (a.x * -a.x) + (-a.r * a.r)
* = -a.z² + a.y² + a.x² - a.r²
*
- * tilt = acos(rot); /* in radians */
+ * tilt = acos(rot) (in radians)
*/
public double tilt() {