Do post affine transforms. How did I miss this?

This commit is contained in:
Steven Robertson
2011-10-16 13:43:46 -04:00
parent 5111a0f05c
commit 0cc904c4f1
2 changed files with 11 additions and 1 deletions

View File

@ -118,6 +118,10 @@ void apply_xf{{xfid}}(float &ox, float &oy, float &color, mwc_st &rctx) {
}
{{endfor}}
{{if xform.has_post}}
tx = ox;
ty = oy;
{{apply_affine_flam3('tx', 'ty', 'ox', 'oy', px, 'xf.post', 'post')}}
{{endif}}
float csp = {{px.get('xf.color_speed')}};