|
|
От: |
WinterMute
|
http://yarrr.ru |
| Дата: | 09.06.05 14:27 | ||
| Оценка: | |||
Алгоритм заливки
{
const int step = 5;
const int angleFactor = 1; // 45 градусов
// something...
if( точку нужно закрасить )
{
if( 0 == (x + (y/angleFactor)) % step )
{
drawDot( x, y );
}
}
}