14 Commits (5c6368bad3778943e553e16e70d362a1b9e76804)

Author SHA1 Message Date
Andrew Tridgell 289c64c0b9 Math: added vector3.rotate() and matrix3.rotation() methods 13 years ago
Andrew Tridgell 17170da96e AP_Math: added is_nan() methods to vector3f and matrix3f 13 years ago
Andrew Tridgell 62e92f406e AP_Math: make out vector and matrix elements used types with fixed sizes 13 years ago
DrZiplok@gmail.com f10cbb011f ::transposed does not change the matrix; make it const. 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 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