mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 04:10:35 +08:00
Added mode lines for vi.
This commit is contained in:
+6
-4
@@ -7,10 +7,10 @@ using namespace matrix;
|
||||
int main()
|
||||
{
|
||||
Quatf p(1, 2, 3, 4);
|
||||
assert(p(0) == 1);
|
||||
assert(p(1) == 2);
|
||||
assert(p(2) == 3);
|
||||
assert(p(3) == 100);
|
||||
assert(p(0) == 1);
|
||||
assert(p(1) == 2);
|
||||
assert(p(2) == 3);
|
||||
assert(p(3) == 4);
|
||||
|
||||
Quatf q(0, 1, 0, 0);
|
||||
Quatf r = p*q;
|
||||
@@ -18,3 +18,5 @@ int main()
|
||||
Eulerf e = Eulerf(p);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */
|
||||
|
||||
Reference in New Issue
Block a user