spuder / All-Spark-Cube

Software to control an RGB led cube
20 stars 6 forks source link

Led Row Placement slightly off #14

Closed spuder closed 12 years ago

spuder commented 12 years ago

Due to the fact that you can't draw a fraction of a pixel, the leds are a slightly not vertical. Likely an issue with the conversion from float to int.

Fix: Make leds align with vertical bars, not screen width.

The code is in the devlopment-objectcontainers branch. Once this bug is fixed, this branch can be merged with development

spuder commented 12 years ago

Fixed it. I forgot to add led size /2 and also changed distance between lines to an int