Scroller in 3D

Would you mind make some test the with this lib? I know you have your own but this seems good. It has also trig functions.
I’m facing strange problems using code:blocks

#include <fixmath.h>

Fix16 t a=5;
Fix16 t b=15;
Fix16 r;
r=a*b;

Compiler complain about
undefined reference tofix16_mul’`

I can write trigonometry extensions for my library if need be.
I’ve done it once before for SQ1x14 format and brads.

The reason they aren’t in the library by default is because FixedPoints is designed to be generic and the lookup tables have to be done specifically for the size of the fixed point.


Are you sure the compiler can see all the files in FixMath?
That sounds like it’s not compiling fix16.c for some reason.

Awesome!

It’s now clear that with a strong perseverance and years of study is not so difficult enable psico-remote-debugging…

That’s was the problem. Can’t understand how it could work till now.

1 Like

Knowledge of templates and template metaprogramming has allowed me to ascend to a higher plane of existance.


Seriously though, learning to read and understand error messages is an invaluable skill.

The process of learning requires making mistakes.
Make enough mistakes and you soon learn which mistakes cause which compiler errors.

1 Like

Manage to run on hardware via EmBitz. Beware hpp file not included by default

2 Likes