![]() |
так что я перенесен эту функцию для скриптового языка
но это иногда не работает например, когда точка не видна vecScreen->fX и vecScreen->fY показывает отрицательное значение или больше, чем screen (x,y)-sizes а когда смотрю в противоположное направление функця показывает что точка на экране, но она вообще не видна Код: Код:
void CGraphics::CalcScreenCoors ( CVector * vecWorld, CVector * vecScreen ) |
Please, write in English.
|
so I ported this function to a scripting language.
but its sometimes doesn't work correctly, for example if the world point is not visible on my screen the function returns strange values they are bigger than my screen values or if I look in opposite direction of the point the function returns that the point is on my screen, but the point is obviously not visible... |
| Время: 02:54 |