Skip to content

AABB constructor accepts erroneus arguments #34

@XORxes-1

Description

@XORxes-1

since ver 3.15

The constructor AABB(int _x1, int _y1, int _x2, int _y2) needs to be modified to throw an error in the situations where _x2 <= _x1 or _y2 <= _y1. This means the AABB must be a rectangle in which the top left corner is always (x1,y1) and bottom right corner is always (x2,y2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions