• Ell's avatar
    transform: fix required/invalidated rects for perspective transforms · 8bb95cbd
    Ell authored
    When calculating required/invalidated rects, clip the output/input
    rect to the horizon/backplane, so that none of its vertices are
    past-the-horizon/behind-the-camera, and we get a proper transformed
    polygon (and bounding box).
    
    This fixes rendering artifacts caused by bad required rects,
    resulting in the necessary regions of the input not being computed.
    8bb95cbd
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
module.c Loading commit data...
module.h Loading commit data...
reflect.c Loading commit data...
rotate-on-center.c Loading commit data...
rotate.c Loading commit data...
scale-ratio.c Loading commit data...
scale-size-keepaspect.c Loading commit data...
scale-size.c Loading commit data...
shear.c Loading commit data...
transform-core.c Loading commit data...
transform-core.h Loading commit data...
transform.c Loading commit data...
translate.c Loading commit data...