mirror of https://github.com/bkaradzic/bgfx
* Update shadowvolumes.cpp * Update stencil.cpp
This commit is contained in:
parent
a153458735
commit
a2268940bb
|
@ -609,6 +609,9 @@ struct Group
|
|||
{
|
||||
m_vbh.idx = bgfx::kInvalidHandle;
|
||||
m_ibh.idx = bgfx::kInvalidHandle;
|
||||
m_sphere={};
|
||||
m_aabb={};
|
||||
m_obb={};
|
||||
m_prims.clear();
|
||||
}
|
||||
|
||||
|
|
|
@ -764,6 +764,10 @@ struct Group
|
|||
m_numEdges = 0;
|
||||
m_edges = NULL;
|
||||
m_edgePlanesUnalignedPtr = NULL;
|
||||
m_edgePlanes = NULL;
|
||||
m_aabb={};
|
||||
m_sphere={};
|
||||
m_obb={};
|
||||
m_prims.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue