reviewed ALL non-external files to follow raylib's convention of no spaces around / or * (#5153)
This commit is contained in:
parent
507c85900f
commit
0e73e0ea64
1 changed files with 122 additions and 122 deletions
|
|
@ -79,9 +79,9 @@ int main(void)
|
|||
// Projection from XYZW to XYZ from perspective point (0, 0, 0, 3)
|
||||
// NOTE: Trace a ray from (0, 0, 0, 3) > p and continue until W = 0
|
||||
float c = 3.0f/(3.0f - p.w);
|
||||
p.x = c * p.x;
|
||||
p.y = c * p.y;
|
||||
p.z = c * p.z;
|
||||
p.x = c*p.x;
|
||||
p.y = c*p.y;
|
||||
p.z = c*p.z;
|
||||
|
||||
// Split XYZ coordinate and W values later for drawing
|
||||
transformed[i] = (Vector3){ p.x, p.y, p.z };
|
||||
|
|
@ -125,4 +125,4 @@ int main(void)
|
|||
//--------------------------------------------------------------------------------------
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue