From: Cedric B. <ced...@fr...> - 2015-05-29 16:11:23
|
On Fri, May 29, 2015 at 5:47 PM, Stefan Schmidt <st...@os...> wrote: > Hello. > > On 29/05/15 17:31, Cedric BAIL wrote: >> cedric pushed a commit to branch master. >> >> http://git.enlightenment.org/core/efl.git/commit/?id=0acf23857fccc300727c32aa5ef0583953528d5d >> >> commit 0acf23857fccc300727c32aa5ef0583953528d5d >> Author: Cedric BAIL <ce...@os...> >> Date: Fri May 29 17:18:23 2015 +0200 >> >> eina: beginning of a generic quaternion API. >> --- >> src/Makefile_Eina.am | 9 +- >> src/lib/eina/Eina.h | 1 + >> src/lib/eina/eina_quaternion.c | 609 ++++++++++++++++++++++++++++++++++ >> src/lib/eina/eina_quaternion.h | 128 +++++++ >> src/lib/evas/canvas/evas_map.c | 42 ++- >> src/tests/eina/eina_test_quaternion.c | 133 ++++++++ > > Thanks for adding the tests together with the implementations. Not all tests are done yet. Especially I have to find a meaningful way to test F16p16 implementation and *lerp function. For the double one, it was easy I did look at example on the web and just checked they work with my implementation. I guess I can do that with F16p16, but then precision issue kick in and I am not to sure of what I am testing. For *lerp function, it is basically the same issue as it is an interpolation function. If I can find some numeric example on the net, I will use them, but I didn't so far. -- Cedric BAIL |