mirror of
https://github.com/fadden/fdraw.git
synced 2024-06-18 00:29:31 +00:00
Fix code formatting
Was indented two spaces, needed to be four.
This commit is contained in:
parent
9193ea7f36
commit
c813bc0acd
|
@ -538,7 +538,7 @@ fast.
|
|||
Circles are computed with Bresenham's algorithm. The idea is to compute
|
||||
one octant of the circle with this bit of magic:
|
||||
|
||||
void drawOutline(int cx, int cy, int rad) {
|
||||
void drawOutline(int cx, int cy, int rad) {
|
||||
int x, y, d;
|
||||
|
||||
d = 1 - rad;
|
||||
|
@ -556,7 +556,7 @@ void drawOutline(int cx, int cy, int rad) {
|
|||
}
|
||||
x++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Then each X/Y coordinate is plotted eight times:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user