refactor to follow the CONVENTIONS.md (#5530)
Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
This commit is contained in:
parent
a96cbe0183
commit
d4f636151b
2 changed files with 10 additions and 10 deletions
|
|
@ -34,7 +34,7 @@ void main()
|
|||
vec3 ambient = albedo*vec3(0.1);
|
||||
vec3 viewDirection = normalize(viewPosition - fragPosition);
|
||||
|
||||
for (int i = 0; i < NR_LIGHTS; ++i)
|
||||
for (int i = 0; i < NR_LIGHTS; i++)
|
||||
{
|
||||
if (lights[i].enabled == 0) continue;
|
||||
vec3 lightDirection = lights[i].position - fragPosition;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ void main()
|
|||
a = aa - bb + c.x;
|
||||
b = twoab + c.y;
|
||||
|
||||
++iter;
|
||||
iter++;
|
||||
}
|
||||
|
||||
if (iter >= maxIterations)
|
||||
|
|
|
|||
Loading…
Reference in a new issue