Reading rest of the code, it's obvious we want to start à YOFF lines from start of rect2i, so we have to also multiply by number of components. Also did some minor cleanup.
92 KiB
92 KiB