mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-06 09:11:07 +08:00
Added vector2.
This commit is contained in:
1 parent
ace2751715
commit
9b995e19f3
12 files changed
+160
-45
No files matched your search
@@ -23,6 +23,12 @@ int main()
|
||||
R2 *= A_I;
|
||||
R2.print();
|
||||
assert(R2 == I);
|
||||
|
||||
|
||||
Matrix3f A2 = eye<float, 3>()*2;
|
||||
Matrix3f B = A2.emult(A2);
|
||||
Matrix3f B_check = eye<float, 3>()*4;
|
||||
assert(B == B_check);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user