.bounds and .global_bounds should be a pair of vectors, not 4 values #188

Closed
opened 2026-01-06 02:33:40 +00:00 by john · 0 comments
Owner

#126 related: To achieve perfect consistency, I am hunting down all uses of individual numbers when a position or size is actually intended instead.

.bounds and .global_bounds return a (x, y, w, h) tuple. They should instead return a tuple (pos, size), where both values are of type mcrfpy.Vector.

#126 related: To achieve ***perfect consistency***, I am hunting down all uses of individual numbers when a position or size is actually intended instead. `.bounds` and `.global_bounds` return a `(x, y, w, h)` tuple. They should instead return a tuple `(pos, size)`, where both values are of type `mcrfpy.Vector`.
john closed this issue 2026-01-06 09:41:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
john/McRogueFace#188
No description provided.