@@ -124,7 +124,7 @@ struct Box {
|
|||||||
Box() {}
|
Box() {}
|
||||||
Box(Rect<T> rect) {
|
Box(Rect<T> rect) {
|
||||||
this->m_data[0] = rect.pos;
|
this->m_data[0] = rect.pos;
|
||||||
this->m_data[0] = rect.pos + rect.size;
|
this->m_data[1] = rect.pos + rect.size;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user