Performance: Do not Transform Coordinates without Necessity
- When we have no implants configured, we don't need to do a coordinate transformation
- When we have
SENSOR
style fields, we don't need to calculate the pixel index - When we have rectangular pixels,
isWithinMatrix(local_pos)
can be much simpler than calculating pixel index first
Edited by Simon Spannagel