AP_Math: Add template for Vector2f::projected.

This commit is contained in:
Samuel Tabor 2019-06-23 12:06:13 +01:00 committed by Andrew Tridgell
parent fab74f8927
commit 45cb663d73

View File

@ -453,6 +453,8 @@ template float Vector2<float>::closest_distance_between_radial_and_point(const V
template float Vector2<float>::closest_distance_between_line_and_point(const Vector2<float> &w1, const Vector2<float> &w2, const Vector2<float> &p);
template float Vector2<float>::closest_distance_between_line_and_point_squared(const Vector2<float> &w1, const Vector2<float> &w2, const Vector2<float> &p);
template float Vector2<float>::closest_distance_between_lines_squared(const Vector2<float> &a1,const Vector2<float> &a2,const Vector2<float> &b1,const Vector2<float> &b2);
template Vector2<float> Vector2<float>::projected(const Vector2<float> &v);
template void Vector2<float>::reflect(const Vector2<float> &n);