27 Commits (6b85adb460bf282d27982248dad6ebb9fc24f527)

Author SHA1 Message Date
Andrew Tridgell 11b8d56434 added comment in polygon code 13 years ago
Andrew Tridgell e7568db237 fixed comment 13 years ago
Andrew Tridgell 6efa2e53cb AP_Math: re-work polygon algorithm for perfect precision 13 years ago
Andrew Tridgell a3a0e5646f polygon: improve the speed and precision of the polygon algorithm 13 years ago
Andrew Tridgell 42522baf9f geofence: store fence points as int32_t 13 years ago
Andrew Tridgell 9b6bab8904 AP_Math: better polygon algorithm 13 years ago
Andrew Tridgell 62e92f406e AP_Math: make out vector and matrix elements used types with fixed sizes 13 years ago
Andrew Tridgell 85e295332f AP_Math: added Polygon_complete() function 13 years ago
Andrew Tridgell 117a98f9a2 AP_Math: added a Polygon_outside() function 13 years ago
James Goppert 0c7c508541 Optional recursion added. 14 years ago
James Goppert 5489b84f8e Improvements to cmake. 14 years ago
James Goppert d887a28b91 Added ArduBoat/ ArduRover/ and APO library. 14 years ago
unknown a4e001bbcf Adding CMake support 14 years ago
jasonshort 7521ceed61 Vector3<T>() { x = y = x = 0; } 14 years ago
DrZiplok@gmail.com f10cbb011f ::transposed does not change the matrix; make it const. 14 years ago
DrZiplok@gmail.com 75e78dabae Back out the memset optimisation. It helps with code size but causes inexplicable link-time failures (undefined references to __cxa_pure_virtual). 14 years ago
DrZiplok@gmail.com 290635b354 Minor code size optimisation; use memset to zero *this rather than explicitly assigning zero to the vector elements. Still not quite optimal for matrix3 as it gets three memsets, but still cheaper in terms of code size. 14 years ago
rmackay9@yahoo.com e930dacb4d AP_Math - initialise vector2 and vector3 x,y,z values to zero. Doug found (and I confirmed) that if vectors or matrices were declared in a function (i.e. a local variable), they would often have non-zero values. Global declarations don't have this problem - it's a C++ performance thing it seems. 14 years ago
rmackay9@yahoo.com 8708675b1f added constructor with 9 elements to matrix3.h 15 years ago
DrZiplok@gmail.com 7721e622aa Rather than subclassing from the templated classes, just typedef directly to them. 15 years ago
rmackay9@yahoo.com 15e6469ca9 added downcasting to MATRIX3_CTORS. this fixes some problems with setting the results from a formula to a variable (i..e m1 = m2*2). 15 years ago
rmackay9@yahoo.com b3e1b6c57d minor corrections to the operator *= and constructor so that matrix can be more easily created from vector objects 15 years ago
DrZiplok@gmail.com ac2e14c4ec Remove a bunch of probably wrong const cruft. Ditch the dubious array index operators from vector2. 15 years ago
DrZiplok@gmail.com 815e5f871a Remove the trivial operator= implementations, the default shallow copy is fine. 15 years ago
DrZiplok@gmail.com 646045ef44 Some minor fixes prompted while looking at the code for other reasons. 15 years ago
DrZiplok@gmail.com b918f21567 Replace the questionable rotation operation with a conventional transposition. 15 years ago
DrZiplok@gmail.com 097161cd8d Beginnings of a math library for ArduPilot(Mega) systems. 15 years ago