mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 13:33:33 +08:00
add double precision alias declarations and remove typedefs
This commit is contained in:
+3
-2
@@ -30,7 +30,7 @@ class Vector3 : public Vector<Type, 3>
|
||||
{
|
||||
public:
|
||||
|
||||
typedef Matrix<Type, 3, 1> Matrix31;
|
||||
using Matrix31 = Matrix<Type, 3, 1>;
|
||||
|
||||
Vector3() = default;
|
||||
|
||||
@@ -148,7 +148,8 @@ public:
|
||||
|
||||
};
|
||||
|
||||
typedef Vector3<float> Vector3f;
|
||||
using Vector3f = Vector3<float>;
|
||||
using Vector3d = Vector3<double>;
|
||||
|
||||
} // namespace matrix
|
||||
|
||||
|
||||
Reference in New Issue
Block a user