bbox fixes

This commit is contained in:
h4570
2022-08-24 00:05:45 +02:00
parent 989d2702e8
commit b5147bba3a
8 changed files with 27 additions and 24 deletions
+3 -3
View File
@@ -21,10 +21,10 @@ class BBox : public CoreBBox {
public:
BBox(const BBox& t_bbox);
explicit BBox(CoreBBox** t_bboxes, const u32& count);
explicit BBox(Vec4* t_vertices, u32* faces, u32 t_count);
explicit BBox(Vec4* t_vertices, u32 t_count);
explicit BBox(const Vec4* t_vertices, const u32* faces, const u32& t_count);
explicit BBox(const Vec4* t_vertices, const u32& t_count);
explicit BBox(const BBox& t_bbox, const M4x4& t_matrix);
explicit BBox(Vec4* t_vertices);
explicit BBox(const Vec4* t_vertices);
static BBox create(const Vec4& center, const float& size);
@@ -32,11 +32,11 @@ class StaPipBagPackage {
CoreBBoxFrustum isInFrustum;
/**
* We are creating StaPipBagPackagesBBox which checks CoreBBoxBBox for every
* We are creating StaPipBagPackagesBBox which checks CoreBBox for every
* maxVertCount / 3. So this variable is index of starting
* StaPipBagPackagesBBox's CoreBBoxBBox. If package have <= maxVertCount / 3
* StaPipBagPackagesBBox's CoreBBox. If package have <= maxVertCount / 3
* verts, we will need only single (starting) bbox. if package have
* maxVertCount verts, we will calculate CoreBBoxBBox from 3
* maxVertCount verts, we will calculate CoreBBox from 3
* StaPipBagPackagesBBox's bboxes.
*/
u32 indexOf1By3BBox;