Box
Description
When box need to be rotates, one should use Rectangle2D, which is float-based and capable of storage information about angle.
struct Box { int x; int y; int width; int height; };
When box need to be rotates, one should use Rectangle2D, which is float-based and capable of storage information about angle.
struct Box { int x; int y; int width; int height; };