Update Kugelwelle Draw Radius
This commit is contained in:
1 parent
a76c16bcc6
commit
63d0eaa251
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ void DrawKugelwelle(int x, int y, int breite, int hoehe, AppState* state, Color
|
|||||||
for (int i = 0; i * state->lambda + s0 < breite; i++) {
|
for (int i = 0; i * state->lambda + s0 < breite; i++) {
|
||||||
int radius = i * state->lambda + s0;
|
int radius = i * state->lambda + s0;
|
||||||
|
|
||||||
if (radius > s0) {
|
if (radius > 0) {
|
||||||
DrawCircleLines(x, y, radius, color);
|
DrawCircleLines(x, y, radius, color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user