mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 23:40:42 +00:00
clang reports: unclear || + && and &+| mixes.
This commit is contained in:
parent
1131ed15df
commit
c57b1a8b70
16 changed files with 30 additions and 28 deletions
|
|
@ -2160,8 +2160,8 @@ void River::_makeRenderBatches( const Point3F &cameraPos )
|
|||
|
||||
F32 dist = getMin( dist0, dist1 );
|
||||
highDetail = ( dist < lodDistSquared );
|
||||
if ( highDetail && lastDetail == 0 ||
|
||||
!highDetail && lastDetail == 1 )
|
||||
if ( (highDetail && lastDetail == 0) ||
|
||||
(!highDetail && lastDetail == 1) )
|
||||
{
|
||||
// We hit a segment with a different lod than the previous.
|
||||
// Save what we have so far...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue