Update bbox.cpp

This commit is contained in:
Sandro Sobczyński authored and GitHub committed 2022-08-04 22:24:40 +02:00
1 parent 82e5e87822
commit 01f4121242
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ BBox::BBox(const BBox& t_bbox) : CoreBBox(t_bbox) { setData(); }
BBox::BBox(const BBox& t_bbox, const M4x4& t_matrix) {
for (u32 i = 0; i < 8; i++) {
_vertices[i] = t_matrix * _vertices[i];
_vertices[i] = t_matrix * t_bbox._vertices[i];
}
setData();