#51964 - lobster - Thu Aug 25, 2005 3:32 am
what c/c++ functions are available on DS? like if i include math.h will i be able to use sqrt, sin, cos, tan, asin, acos, and atan?
lobster wrote: |
what c/c++ functions are available on DS? like if i include math.h will i be able to use sqrt, sin, cos, tan, asin, acos, and atan? |
LOst? wrote: | ||
For math, NDSlib has a few functions you can use. If you want to use sine, make a LUT on your computer first. Use fixed point math. NDS is built for use with 1.19.12 fixed point so most math functions require that format. |