summaryrefslogtreecommitdiffhomepage
path: root/opentrack/simple-mat.hpp
AgeCommit message (Collapse)Author
2016-06-18api/simple-mat: allow for casts to num* and constStanislaw Halik
Due to memory layout we don't need enable_if for vector.
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough.
2016-06-15api: remove euler filterStanislaw Halik
This isn't a proper way to handle the multiple solutions problem. Even after fixing degree/radian confusion it didn't work.
2016-06-14api/simple-mat: allow for vector -> const double* conversionStanislaw Halik
2016-06-14api/simple-mat: move euler stuff to dedicated namespaceStanislaw Halik
2016-06-14api/simple-mat: drop __restrict, clang complainsStanislaw Halik
2016-06-14api/simple-mat: drop pointless, wrong fmodStanislaw Halik
Also use fabs instead of abs.
2015-12-18api/mat: fix typos/breakageStanislaw Halik
2015-11-01simple-mat: nix porked ctorStanislaw Halik
2015-08-31simple-mat: add __restrict for GNUStanislaw Halik
2015-08-22simple-mat: fix arglist SFINAEStanislaw Halik
Constructor was always available, enable_if faultily allowed it to accept an arbitrary amount of parameters. The `assignable' bit is redundant and broken, anyway static_cast<num>(x)... takes care of type compatibility.
2015-08-22simple-mat: can use static_cast hereStanislaw Halik
2015-08-22props changed onlyStanislaw Halik
Some source files had executable bit on. Remove it.
2015-08-18simple-mat: replace initializer_list with variadic ctorStanislaw Halik
Gives us type safety rather than argument count mismatch. Also there's no more narrowing conversion issue. Replace usages. Explicitly delete initializer_list ctor.
2015-08-18simple-mat: __inline -> inline for C++Stanislaw Halik
2015-08-18simple-mat: don't inline so muchStanislaw Halik
2015-08-11simple-mat: open-code more, add commentStanislaw Halik
2015-08-11simple-mat: open-code operator()(x, y) callsStanislaw Halik
2015-07-19fix osx, app bundle now buildsStanislaw Halik
2015-07-07opentrack-api: add copyright noticesStanislaw Halik
Code without a license defaults to having all rights reserved.
2015-06-16simple-mat: allow pitch axis go -180->180Stanislaw Halik
To be reverted if broken
2015-06-03simple-mat: pass -Wall -Wextra -pedanticStanislaw Halik
2015-06-01simple-mat: fix scalar multiplicationStanislaw Halik
2015-06-01simple-mat: implement dot and cross productStanislaw Halik
2015-06-01simple-mat: implement vector indexingStanislaw Halik
2014-12-19mat: add addition and subtraction operatorsStanislaw Halik
2014-12-18const correctnessStanislaw Halik
2014-12-15move rmat->euler and euler->rmat conversions to headerStanislaw Halik
2014-11-07simple-mat inits without a temp array nowStanislaw Halik
2014-11-07nix unused typedefStanislaw Halik
2014-11-01add simple matrix operations implStanislaw Halik