Started by TheMachine02, January 19, 2015, 05:10:01 PM
0 Members and 1 Guest are viewing this topic.
Quote from: TheMachine02 on January 20, 2015, 10:16:16 AMMatrix calculation is also made with integer, 7bit integer to be more precise. [-64,64] and precision is ok, as well as speed :stress test with 256 points, 6fps at 6MHz (so for matrix rotation : 2304 fastmul per frame, and 256 div, 512 mul)this test is without using fast math
_gVertexFetch: ld h, gCache/256 ld a, (hl) ld (gClipCode), a inc h ld e, (hl) inc h ld d, (hl) inc h ld (gPositionX), de ld e, (hl) inc h ld d, (hl) inc h ld (gPositionY), de ld a, (hl) inc h ld h, (hl) ld l, a ld (gPositionZ), hl
Page created in 0.028 seconds with 31 queries.