Fix wrong index bug

lmao.

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-07-05 03:35:48 +03:00
parent 21c8c60369
commit 2ebc752cc7

View File

@@ -124,7 +124,7 @@ struct Box {
Box() {}
Box(Rect<T> rect) {
this->m_data[0] = rect.pos;
this->m_data[0] = rect.pos + rect.size;
this->m_data[1] = rect.pos + rect.size;
}
private: