0 Members and 2 Guests are viewing this topic.
Matrix 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.034 seconds with 50 queries.