Skip to content

Subtraction ImVec2 #2832

Closed
Closed
@CesaragsUC

Description

@CesaragsUC

Hi, i get problem when i tried subtract two ImVec2.
i saw a source that this operator work, but i think that somethings has ben changed, since the code that i using as base use old version of imgui.

ImVec2 center = ImVec2(pos1.x + screen.x / 2, pos1.y + screen.y / 2); ImGui::GetWindowDrawList()->AddCircleFilled(center + ImVec2(x_1, y_1), 2, ImColor(255, 0, 0));

https://imgur.com/GOvKWCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions