You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi this is my first dabble into PSX coding, sorry if I am missing something obvious
I need implementations of cos(), sqrt(), asin(), atan2(), sin() and pow() to build a project, what solutions do other people use for these basic functions?
I cannot find a core math library in here (no libm or libmath), and the other PSX SDKs seem to provide one, do I need to roll my own cos() and sin() etc?
The text was updated successfully, but these errors were encountered:
Floating point math functions are not implemented for the most part in PSn00bSDK as such facilities will perform poorly since the PS1 does not have hardware floating point capability whatsoever. Only math functions implemented are integer based such as isin() and icos() and some GTE accelerated operations such as Square0(), VectorNormalS() and most of the matrix related functions. If you really want floating point math functions you can probably use a math library from another SDK project, but I can't really help you on that as I've never tried or looked into them myself.
Hi this is my first dabble into PSX coding, sorry if I am missing something obvious
I need implementations of cos(), sqrt(), asin(), atan2(), sin() and pow() to build a project, what solutions do other people use for these basic functions?
I cannot find a core math library in here (no libm or libmath), and the other PSX SDKs seem to provide one, do I need to roll my own cos() and sin() etc?
The text was updated successfully, but these errors were encountered: