trim spaces and use 4 space instead of 2

This commit is contained in:
Mylloon 2021-12-22 02:17:16 +01:00
parent db59cc2a85
commit 0b62517c35
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
6 changed files with 894 additions and 893 deletions

View file

@ -81,7 +81,8 @@ void transform_n_rasterize(surface_t * s, float * model_view_matrix, float * pro
if( s->t[i].state & PS_PARTIALLY_OUT && if( s->t[i].state & PS_PARTIALLY_OUT &&
( (s->t[i].v[0].state & PS_TOO_FAR) || ( (s->t[i].v[0].state & PS_TOO_FAR) ||
(s->t[i].v[1].state & PS_TOO_FAR) || (s->t[i].v[1].state & PS_TOO_FAR) ||
(s->t[i].v[2].state & PS_TOO_FAR) ) ) (s->t[i].v[2].state & PS_TOO_FAR) )
)
continue; continue;
fill_triangle(s, &(s->t[i])); fill_triangle(s, &(s->t[i]));
} }