60 Commits (0bab0dc26cb2e0c3d7ada0c9d5e89523e3c2db87)

Author SHA1 Message Date
Andy Piper 87a369727a AP_Math: specialize float and double functions to use fabsf() and simple comparison otherwise 3 years ago
Randy Mackay 7daacfd63e AP_Math: vector2f gets float.h include 4 years ago
Andrew Tridgell 0f2f0d4cb2 AP_Math: allow for double EKF build 4 years ago
Andrew Tridgell 9b91cfe4ee AP_Math: implement double versions of some position control methods 4 years ago
Andrew Tridgell 3315ec5acc AP_Math: added tofloat() and todouble() methods to Vector2 and Vector3 4 years ago
Randy Mackay e2b46d05dc AP_Math: Vector2,3 get limit_length methods 4 years ago
Andrew Tridgell a56f07b74d AP_Math: allow build without other headers for vector2.h 4 years ago
Andrew Tridgell 24d0804249 AP_Math: added rotate() method to Vector2f 5 years ago
Peter Barker dad5b4e903 AP_Math: remove use of Vector2 as function 5 years ago
Randy Mackay f87ae7d445 AP_Math: add vector2f::offset_bearing 5 years ago
Randy Mackay c7ca9c04f8 AP_Math: add comment to vector2f::point_on_segment 6 years ago
Peter Barker 4c434c2df9 AP_Math: add WARN_IF_UNUSED to bool methods 6 years ago
Peter Barker da5d5c9203 AP_Math: add tests for Vector2 6 years ago
Andrew Tridgell a5fd7ac5ca AP_Math: add vector2f::closest_distance_between_line_and_point_squared 6 years ago
Andrew Tridgell 2457bf71d4 AP_Math: add simplified vector2f::closest_point 6 years ago
Andrew Tridgell c8e49259a0 AP_Math: add vector2f::closest_distance_between_radian_and_point_squared 6 years ago
Andrew Tridgell dbf337e1b3 AP_Math: move closest_point to cpp 6 years ago
Andrew Tridgell bfc28dfde9 AP_Math: move normalize, reflect, project and perpendicular to cpp 6 years ago
Andrew Tridgell 01e541b7d1 AP_Math: minor formatting changes to length method 6 years ago
Andrew Tridgell 4c4de1f021 AP_Math: vector2f::length_squared always returns float 6 years ago
Andrew Tridgell 46617e6c72 AP_Math: remove unused include from Vector2 6 years ago
Andrew Tridgell 69781cda42 AP_Math: add Vector2::angle 6 years ago
Pierre Kancir 9e927d1376 AP_Math: correct copyright, add pragma-once 6 years ago
Pierre Kancir f1270b4b22 AP_Math: const correctness 6 years ago
Peter Barker 154d771e6c AP_Math: correct compilation when running MATH_CHECK_INDEXES 6 years ago
Peter Barker fa5757f618 AP_Math: fix float-equals warnings 7 years ago
Peter Barker 626467db14 AP_Math: add tests for line intersection 7 years ago
Randy Mackay c28cfcdc27 AP_Math: add Vector2f::circle_segment_intersection 7 years ago
Randy Mackay a655c36159 AP_Math: add Vector2f::segment_intersection 7 years ago
Andrew Tridgell 3d2c4ffa79 AP_Math: allow write to indexed vector2 7 years ago
Randy Mackay db45442de2 AP_Math: remove unused angle method 8 years ago
Michael du Breuil c5c94949bf AP_Math: Extend vector2::angle(vector2) to distinguish parallel and antiparallel vectors 8 years ago
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers 8 years ago
Peter Barker 2047d53470 Math: move closest_point in from AC_Avoid 9 years ago
Peter Barker f6cb0ffb6f AP_Math: add Vector2f perpendicular 9 years ago
Peter Barker b6d0b028c3 AP_Math: add operator[] to Vector2 9 years ago
Gustavo Jose de Sousa 3b05ec1157 AP_Math: make vectors and matrix constructors constexpr 9 years ago
Ricardo de Almeida Gonzaga 5bd034a5a8 Global: start using cmath instead of math.h 9 years ago
Lucas De Marchi b4a8a0b961 AP_Math: replace header guard with pragma once 9 years ago
Randy Mackay 39340e70f8 Math: add Vector2 is_zero method 10 years ago
Andrew Tridgell 009913ec60 AP_Math: make is_nan const for quaternion and add .zero() for vector2 11 years ago
Andrew Tridgell 97b7130bb9 libraries: update license header to GPLv3 12 years ago
Andrew Tridgell 5024da2695 AP_Math: fixed indent-tabs-mode 12 years ago
Andrew Tridgell 737f0305ef AP_Math: implement vector2 cross product 12 years ago
Andrew Tridgell 43c3c60de2 AP_Math: moved a lot of vector templates to cpp from .h 12 years ago
Andrew Tridgell 2d29a6a7be AP_Math: added Vector2f.angle() 12 years ago
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles. 12 years ago
Andrew Tridgell a072afa223 AP_Math: expand some macros into functions 12 years ago
uncrustify 652b490345 uncrustify libraries/AP_Math/vector2.h 13 years ago
Andrew Tridgell 468dfe3faa AP_Math: the windows arduino build is missing acosf() 13 years ago