mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
14 lines
184 B
C++
14 lines
184 B
C++
#include "Vector3.hpp"
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
|
|
using namespace matrix;
|
|
|
|
int main()
|
|
{
|
|
Vector3f a(1, 0, 0);
|
|
Vector3f b(0, 1, 0);
|
|
Vector3f c = a.cross(b);
|
|
return 0;
|
|
}
|