Closed felipemanga closed 6 years ago
Not really meant as an optimization (it's more of a proof-of-concept), but it gets about 33fps instead of 20fps in my tests. Also reduces code duplication. The idea can be applied to other primitives that rely on drawPixel.
Not really meant as an optimization (it's more of a proof-of-concept), but it gets about 33fps instead of 20fps in my tests. Also reduces code duplication. The idea can be applied to other primitives that rely on drawPixel.