Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

Баг с GrenadePrediction

Участник
Участник
Статус
Оффлайн
Регистрация
26 Мар 2019
Сообщения
702
Реакции
167
1597262978185.png
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
у меня 3 по матеше в атестате, так что не выёбывайся
Код:
Expand Collapse Copy
   auto draw_3d_dotted_circle = [](Vector position, float points, float radius) {

        float step = 3.141592654f * 2.0f / points;

        for (float a = 0; a < 3.141592654f * 2.0f; a += step) {

            Vector start(radius * cosf(a) + position.x, radius * sinf(a) + position.y, position.z);



            Vector start2d;

            if (Math::WorldToScreen(start, start2d))

                Render::Get().RenderLine(start2d.x, start2d.y, start2d.x + 1, start2d.y + 1, Color(255, 255, 255));

        }

    };
под CSGOSimple
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Код:
Expand Collapse Copy
   auto draw_3d_dotted_circle = [](Vector position, float points, float radius) {

        float step = 3.141592654f * 2.0f / points;

        for (float a = 0; a < 3.141592654f * 2.0f; a += step) {

            Vector start(radius * cosf(a) + position.x, radius * sinf(a) + position.y, position.z);



            Vector start2d;

            if (Math::WorldToScreen(start, start2d))

                Render::Get().RenderLine(start2d.x, start2d.y, start2d.x + 1, start2d.y + 1, Color(255, 255, 255));

        }

    };
под CSGOSimple
щиткод
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
delete this line
"Vector start(radius * cosf(a) + position.x, radius * sinf(a) + position.y, position.z);"
 
Назад
Сверху Снизу