adding an edge case
This commit is contained in:
parent
c14e6c352d
commit
d90f386bd2
|
@ -34,6 +34,10 @@ main := fn(): int {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if *(&pixel.point.y - 1) != 0 {
|
||||||
|
return 64;
|
||||||
|
}
|
||||||
|
|
||||||
return pixel.point.x + pixel.point.y + pixel.color.r
|
return pixel.point.x + pixel.point.y + pixel.color.r
|
||||||
+ pixel.color.g + pixel.color.b + pixel.color.a;
|
+ pixel.color.g + pixel.color.b + pixel.color.a;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue