From d24b055b66446ccfe4ad3fbed47a0900e4ba6640 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Mar 2012 15:07:45 +1100 Subject: [PATCH] Math: added comment on quaternion constructor --- libraries/AP_Math/quaternion.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Math/quaternion.h b/libraries/AP_Math/quaternion.h index 515592ac3c..d5b5913e82 100644 --- a/libraries/AP_Math/quaternion.h +++ b/libraries/AP_Math/quaternion.h @@ -17,7 +17,8 @@ class Quaternion public: float q1, q2, q3, q4; - // constructor + // constructor creates a quaternion equivalent + // to roll=0, pitch=0, yaw=0 Quaternion() { q1 = 1; q2 = q3 = q4 = 0; } // setting constructor