Patch Update - Clean Render Pass - V10.2.3
This commit is contained in:
parent
644fc57762
commit
8d32f51e8c
@ -179,7 +179,7 @@
|
|||||||
<workItem from="1746538260893" duration="5781000" />
|
<workItem from="1746538260893" duration="5781000" />
|
||||||
<workItem from="1746546014271" duration="1814000" />
|
<workItem from="1746546014271" duration="1814000" />
|
||||||
<workItem from="1746619988287" duration="12282000" />
|
<workItem from="1746619988287" duration="12282000" />
|
||||||
<workItem from="1746711806997" duration="2620000" />
|
<workItem from="1746711806997" duration="4930000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="Minor update - viewport window tweak">
|
<task id="LOCAL-00001" summary="Minor update - viewport window tweak">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
|
@ -1691,12 +1691,6 @@ bool ApplicationClass::RenderPass(const std::vector<std::reference_wrapper<std::
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
XMVECTOR objposition = object->GetPosition();
|
|
||||||
float x = XMVectorGetX(objposition);
|
|
||||||
float y = XMVectorGetY(objposition);
|
|
||||||
float z = XMVectorGetZ(objposition);
|
|
||||||
float radius = object->GetBoundingRadius();
|
|
||||||
|
|
||||||
// Check if the object has physics enabled
|
// Check if the object has physics enabled
|
||||||
if (object->IsPhysicsEnabled())
|
if (object->IsPhysicsEnabled())
|
||||||
{
|
{
|
||||||
@ -1709,13 +1703,6 @@ bool ApplicationClass::RenderPass(const std::vector<std::reference_wrapper<std::
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// // Vérifie si l'objet est dans le frustum
|
|
||||||
// if (!m_FrustumCulling.CheckCube(x, y, z, radius, GetFrustumTolerance()))
|
|
||||||
// {
|
|
||||||
// object->SetVisible(false);
|
|
||||||
// continue;
|
|
||||||
// }
|
|
||||||
// object->SetVisible(true); // L'objet est visible
|
|
||||||
renderCount++;
|
renderCount++;
|
||||||
|
|
||||||
scaleMatrix = object->GetScaleMatrix();
|
scaleMatrix = object->GetScaleMatrix();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user