12.01.2017, 17:47
Ahoy mates
i want to get some functions to use complex numbers and math operations but didnt find any include for PAWN yet
So i wanted to write this includes in PAWN but wasnt successful yet
Only thing i was able to replace was
extern double cos(double);
extern double sin(double);
by
#define sin(%0) floatsin(%0)
#define cos(%0) floatcos(%0)
But for some reason structs doesnt work in PAWN
1st header
http://pastebin.com/4JuvGK6m
2nd header
http://www.nongnu.org/avr-libc/user-...8h_source.html
i want to get some functions to use complex numbers and math operations but didnt find any include for PAWN yet
So i wanted to write this includes in PAWN but wasnt successful yet
Only thing i was able to replace was
extern double cos(double);
extern double sin(double);
by
#define sin(%0) floatsin(%0)
#define cos(%0) floatcos(%0)
But for some reason structs doesnt work in PAWN
1st header
http://pastebin.com/4JuvGK6m
2nd header
http://www.nongnu.org/avr-libc/user-...8h_source.html