mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
changed sense (and name) of values for affine xforms to match smoulder renders.
This commit is contained in:
parent
22fdc98128
commit
5ce5763da7
@ -101,11 +101,11 @@ def precalc_xf_affine(px):
|
||||
float magy = {{pre.magnitude.y}};
|
||||
|
||||
{{pre._set('xx')}} = magx * cos(pri-spr);
|
||||
{{pre._set('xy')}} = magx * sin(pri-spr);
|
||||
{{pre._set('yx')}} = magy * cos(pri+spr);
|
||||
{{pre._set('yx')}} = -magx * sin(pri-spr);
|
||||
{{pre._set('xy')}} = -magy * cos(pri+spr);
|
||||
{{pre._set('yy')}} = magy * sin(pri+spr);
|
||||
{{pre._set('xo')}} = {{pre.offset.x}};
|
||||
{{pre._set('yo')}} = {{pre.offset.y}};
|
||||
{{pre._set('yo')}} = -{{pre.offset.y}};
|
||||
|
||||
""").substitute(locals()))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user