HCPP DEV | (uint8_t)0x539
71 subscribers
325 photos
42 videos
69 files
296 links
Разработка на С++
в Visual Studio 2026 Community
И немного хуйни
пиздатый сайт мой https://hcpp20334.github.io
пиздатый гитхаб https://github.com/hcpp20334

помочь проекту
https://donationalerts.com/r/hcpp
Download Telegram
вот можно в браузере запустить
draw.html
1 KB
линуксоиды (арчебои) вот вам заставка ожидания)
у кого не белые списки то оказывается до сих пор работает WARP
😁2
HCPP DEV
у кого не белые списки то оказывается до сих пор работает WARP
я думал что его давно забанили. Но оказывается хуй там
ахахахха. Это тот впн который с пингом под 4000 мне такое говорит)
Please open Telegram to view this post
VIEW IN TELEGRAM
HCPP DEV
можно несколько выбирать
float cpos_y = 0;
float cpos_x = 0;
float cdir_y = 1;
float cdir_x = 1;
float cmax_y_screen = 0;
float cmax_x_screen = 0;
float cspeed = 256;
void fun_dvd_logo() {

cpos_y += cspeed * cdir_y * ImGui::GetIO().DeltaTime;
cpos_x += cspeed * cdir_x * ImGui::GetIO().DeltaTime;
cmax_y_screen = PahomEngine->cast->unicast<int64_t,float>(PahomEngine->i64WindowSize[1]) - 80.0f;
cmax_x_screen = PahomEngine->cast->unicast<int64_t, float>(PahomEngine->i64WindowSize[0]) - 80.0f;
if (cpos_y >= cmax_y_screen || cpos_y <= 0) cdir_y *= -1;
if (cpos_x >= cmax_x_screen || cpos_x <= 0) cdir_x *= -1;
ImGui::SetCursorPos({ cpos_x, cpos_y });
ImGui::Image(PahomEngine->ImageData.TextureArray[4], { 80.0f,80.0f });
ImGui::SetCursorPos({ cpos_x, cpos_y + 80.0f });
PahomEngine->Text("x: {} y: {}\nw: {} h: {}", cpos_x, cpos_y, cmax_x_screen, cmax_y_screen);

}

перенес анимацию в движок)
кто брал рассрочку от озона? Какие подвоные камни есть?
идеальная пикча
🤡3
бедные вайбкодеры ))) А мне похуй. Я как делал сам так и делаю. Думайте.
Forwarded from concertzaal
ChatGPT и Claude не работают по всему миру — обе компании официально признали проблему.

мировая офисная продуктивность рухнула в 0 за последние 30 минут 😄

@concertzaal
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
3
 int draw_x = static_cast<int>(mouse_pos.x - canvas_pos.x);
int draw_y = static_cast<int>(mouse_pos.y - canvas_pos.y);
ImGui::SetCursorPos({ static_cast<float>(draw_x + 64),static_cast<float>(draw_y)});
ImGui::Image(PahomEngine->ptrint64_t(PahomEngine->ImageData.TextureArray[12]), { 64,64 });
ImGui::BeginTooltip();
PahomEngine->Text("{} {}", draw_x, draw_y);
ImGui::EndTooltip();
if (draw_x >= 0 && draw_x < rectMax.x && draw_y >= 0 && draw_y < rectMax.y) {
int brush_size = PahomEngine->ogl->i64BrushSize;
int half_brush = brush_size / 2;
if (ImGui::IsKeyPressed(ImGuiKey_MouseLeft)) {
audio_delay += 60 * ImGui::GetIO().DeltaTime;
if (audio_delay >= 3) {

PahomEngine->audio.play3(13);
audio_delay = 0;
}
//currentColorU32 = 0;
for (int x = draw_x - half_brush; x < draw_x + half_brush; x++) {
for (int y = draw_y - half_brush; y < draw_y + half_brush; y++) {
if (x >= 0 && x < PahomEngine->ogl->width_texture &&
y >= 0 && y < PahomEngine->ogl->height_texture)
{
//PahomEngine->vec->resize(pos_x, PahomEngine->ogl->width_texture * 4);
//PahomEngine->vec->resize(pos_y, PahomEngine->ogl->height_texture * 4);
//// PahomEngine->ogl->getCoordPixel(x, y);
if (PahomEngine->ogl->pixel_buffer[y * PahomEngine->ogl->width_texture + x] == color_pixel)
{
fErasedPixels++;
PahomEngine->ogl->SetPixel(x + 1, y, currentColorU32);
}
//pos_x[x] = x;
//pos_y[y] = y;

}
}
}
}
PahomEngine->ogl->UpdateTexture();
}

доработал алгоритм стирания пикселей
👍1
👋❤️👋❤️
Please open Telegram to view this post
VIEW IN TELEGRAM