jnmartin84

Results 13 comments of jnmartin84

I had to do some work in this area to get OpenLara running on the Nintendo 64. It isn't quite in shape for a pull request but for reference the...

Sure, understood. My original intent was to introduce a compile-time check/define for endianness and eventually work through all of the uses of read_/read_LE/read_BE and make them behave appropriately regardless of...

What about those poor suffering Doctor V64 and Mr Backup Z64 users? /s

Which verison of GCC are you on? I haven't had time to build 13 yet, so I am still on 12 and this isn't an error on 12. I guess...

There are other approximations for sin/cos/tan I tried to work with in the past but wasn't able to finesse them enough to make them work for Doom without visual issues....

See: http://www.coranac.com/2009/07/sines/ The third-order approximation presented here works with some parameter tweaks and compiles down to 17 instructions, the 2 integer multiplies being the worst with respect to latency/pipeline: ```...

started with commit e5311d8ebe196d000018f10501eee4f5480adfc3

I have an approximation for finetangent, still finessing the conversion of it from floating point to fixed point, I need to work out how to scale/transform things

Finetangent approximation with commit a1212bb0583c3818479b58576e259224d8516f25 floating-point for now, need to do more work on converting to fixed-point

see: https://github.com/DragonMinded/libdragon/blob/unstable/examples/dfsdemo/dfsdemo.c