mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-21 20:39:57 +01:00
Add comments
This commit is contained in:
parent
f2a9fd18f4
commit
8aa68d6187
1 changed files with 8 additions and 1 deletions
|
@ -2080,7 +2080,14 @@ void S3L_drawTriangle(
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if S3L_PERSPECTIVE_CORRECTION == 2
|
#if S3L_PERSPECTIVE_CORRECTION == 2
|
||||||
S3L_FastLerpState depthPC, b0PC, b1PC;
|
S3L_FastLerpState
|
||||||
|
depthPC, // interpolates depth between row segments
|
||||||
|
b0PC, // interpolates barycentric0 between row segments
|
||||||
|
b1PC; // interpolates barycentric1 between row segments
|
||||||
|
|
||||||
|
/* ^ These interpolate values between row segments (lines of pixels
|
||||||
|
of S3L_PC_APPROX_LENGTH length). After each row segment perspective
|
||||||
|
correction is recomputed. */
|
||||||
|
|
||||||
depthPC.valueScaled =
|
depthPC.valueScaled =
|
||||||
(Z_RECIP_NUMERATOR /
|
(Z_RECIP_NUMERATOR /
|
||||||
|
|
Loading…
Reference in a new issue