„Számítógépes grafika házi feladat tutorial” változatai közötti eltérés
| 592. sor: | 592. sor: | ||
Vector pos_on_plane = Vector( | Vector pos_on_plane = Vector( | ||
(x - Screen::width/2) / (Screen::width/2), | (x - Screen::width/2) / (Screen::width/2), | ||
(y - Screen::height/2) / (Screen::height/2), | (y - Screen::height/2) / (Screen::height/2), | ||
0 | 0 | ||
| 637. sor: | 636. sor: | ||
Vector pos_on_plane = Vector( | Vector pos_on_plane = Vector( | ||
(x + 0.5f - Screen::width/2) / (Screen::width/2), | (x + 0.5f - Screen::width/2) / (Screen::width/2), | ||
(y + 0.5f - Screen::height/2) / (Screen::height/2), | (y + 0.5f - Screen::height/2) / (Screen::height/2), | ||
0 | 0 | ||