diff options
| -rw-r--r-- | task05_3D/Guschin/MyForm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/task05_3D/Guschin/MyForm.h b/task05_3D/Guschin/MyForm.h index 0ba7758..94b8d4f 100644 --- a/task05_3D/Guschin/MyForm.h +++ b/task05_3D/Guschin/MyForm.h @@ -211,7 +211,7 @@ namespace Guschin { } vec2 tmpEnd = end; - bool visible = hasStart && hasEnd && clip(start, end, minX, minY, maxX, maxY); + bool visible = hasStart && hasEnd && clip(start, end, Wcx_w - Wx_work, Wcy_w - Wy_work, maxX, Wcy_w); if (visible) { if (deltaY > 1.f) deltaY = 1.f; |