mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-23 23:33:58 -04:00
refactor to follow the CONVENTIONS.md (#5530)
Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user