summaryrefslogtreecommitdiff
path: root/maths.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-07-06 17:55:46 +1000
committerquou <quou@disroot.org>2024-07-06 17:56:54 +1000
commite6f8a3356a91e0304e9965c7b8bfc2f06a2b79cc (patch)
treefa9d44cdc1b007c834bd2c8cfd6e19d175829b4d /maths.c
parent8706ad19a8b29073afeece115092f03cbbf369c4 (diff)
Triangle fill.
Diffstat (limited to 'maths.c')
-rw-r--r--maths.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/maths.c b/maths.c
index db11491..74d682d 100644
--- a/maths.c
+++ b/maths.c
@@ -232,7 +232,6 @@ void persp(int* v, int asp) {
v[2] += !v[2];
v[0] = ((v[0] << fbits) / v[2]);
v[1] = ((v[1] << fbits) / v[2]) * asp >> fbits;
- v[2] = f1;
}
void ndc2clip(int* c, int* p) {