chiark / gitweb /
The cube was being drawn slightly differently on the top and left
authorSimon Tatham <anakin@pobox.com>
Sat, 1 May 2004 07:32:09 +0000 (07:32 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 1 May 2004 07:32:09 +0000 (07:32 +0000)
commit2206a1aa25f783759cdf2336310357c33823dc21
tree5ea67365f44e9c61f4e40b481358dc1e9cd70801
parenta3c5409af26b5596c47a48a4b7e706d30da5da24
The cube was being drawn slightly differently on the top and left
rows, because the coordinates were crossing one or other axis at
that point and so the lower coordinate was being rounded up while
the upper one was rounded down. Judicious use of floor() fixes it.

[originally from svn r4179]
cube.c