[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] About colors
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Mon, 14 Jun 2010 17:42:03 -0600 (MDT)
On Mon, June 14, 2010 4:49 pm, Peter Wang said:
> No, it also makes perfect sense if you think of a pixel as a 1x1 square.
> To fill the square you need to start drawing from (x1,y1) and keep
> drawing right up to the other corner of the pixel at (x1+1, y1+1).
>
> I believe this way of thinking extends to 3D more naturally.
Well regardless of which way seems best (and there is not agreement
on that it seems), using width and height instead of end parameters
removes all guessing.
Trent :n)