3 ms·
Over the years, some pretty good routines have been developed. http://codebase64.org/doku.php?id=base:6502_6510_maths http://codebase64.org/doku.php?id=base:65
by ddingus 12y ago
Over the years, some pretty good routines have been developed.
http://codebase64.org/doku.php?id=base:6502_6510_maths http://codebase64.org/doku.php?id=base:6502_6510_maths
Tons of great little tricks in there. 6502 math coding is kind of fun in this way.
A look at old games, such as "Elite" ( http://www.iancgbell.clara.net/elite/ http://www.iancgbell.clara.net/elite/) show many trade offs being used to make simple wireframe 3D plausible at some few frames per second.