mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Added comment.
This commit is contained in:
parent
74bd05030d
commit
027d5608bd
1 changed files with 1 additions and 0 deletions
|
|
@ -1550,6 +1550,7 @@ void GroundCover::prepRenderImage( SceneRenderState *state )
|
||||||
{
|
{
|
||||||
PROFILE_SCOPE( GroundCover_RenderBillboards );
|
PROFILE_SCOPE( GroundCover_RenderBillboards );
|
||||||
|
|
||||||
|
// Take zoom into account.
|
||||||
F32 screenScale = state->getWorldToScreenScale().y / state->getViewport().extent.y;
|
F32 screenScale = state->getWorldToScreenScale().y / state->getViewport().extent.y;
|
||||||
|
|
||||||
// Set the far distance for billboards.
|
// Set the far distance for billboards.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue