OsirisAndExtra
OsirisAndExtra copied to clipboard
Question
How would I draw this crosshair? As a custom noscope crosshair?
How would I draw this crosshair? As a custom noscope crosshair?
ImGui
ImVec2 vecScreenSize = x; float flSize = 50.f;
ImGui::GetBackgroundDrawList()->FilledRectMultiColor(ImVec2(vecScreenSize.x / 2 - 2, vecScreenSize.y / 2 - flSize), ImVec2(vecScreenSize.x / 2 + 2, vecScreenSize.y / 2), ImColor(0,0,0,200), ImColor(0,0,0,200), ImColor(0,0,0,0), ImColor(0,0,0,0));
ImGui::GetBackgroundDrawList()->FilledRectMultiColor(ImVec2(vecScreenSize.x / 2 - 2, vecScreenSize.y / 2 - flSize), ImVec2(vecScreenSize.x / 2 + 2, vecScreenSize.y / 2), ImColor(0,0,255,200), ImColor(0,0,255,200), ImColor(0,0,255,0), ImColor(0,0,255,0));
// you get the idea