Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
Rinnegatamante committed Jul 2, 2020
1 parent cd76c57 commit e028aaf
Showing 8 changed files with 19 additions and 316 deletions.
2 changes: 1 addition & 1 deletion Source/HLEGraphics/BaseRenderer.cpp
Original file line number Diff line number Diff line change
@@ -1167,7 +1167,7 @@ v3 BaseRenderer::LightVert( const v3 & norm ) const
const v3 & col {mTnL.Lights[mTnL.NumLights].Colour};
v3 result( col.x, col.y, col.z );

for ( u32 l {}; l < mTnL.NumLights; l++ )
for ( u32 l = 0; l < mTnL.NumLights; l++ )
{
f32 fCosT {norm.Dot( mTnL.Lights[l].Direction )};
if (fCosT > 0.0f)
Loading

0 comments on commit e028aaf

Please sign in to comment.