mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-18 06:44:56 +08:00
0024307: TKOpenGl - efficient culling of large number of presentations
Implement SAT intersection tests and frustum culling algorithm using BVH trees. New Draw command vfrustumculling to manage frustum culling. Add test cases bugs/vis/bug24307_1 and bugs/vis/bug24307_2. Remove CALL_DEF_BOUNDBOX and CALL_DEF_BOUNDS.
This commit is contained in:
@@ -315,7 +315,7 @@ public:
|
||||
//! Compute per-component division by scale factor.
|
||||
NCollection_Vec4 operator/ (const Element_t theInvFactor)
|
||||
{
|
||||
NCollection_Vec4 aResult(this);
|
||||
NCollection_Vec4 aResult(*this);
|
||||
return aResult /= theInvFactor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user