mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix camera offset WRT flam3
This commit is contained in:
parent
5179c98254
commit
7815c13ba4
@ -81,12 +81,12 @@ def precalc_camera(info, pcam):
|
||||
{{pre_cam._set('xx')}} = scale * rotcos;
|
||||
{{pre_cam._set('xy')}} = scale * -rotsin;
|
||||
{{pre_cam._set('xo')}} = scale * (rotsin * ceny - rotcos * cenx)
|
||||
+ {{0.5 * info.width + info.gutter}} + ditherx;
|
||||
+ {{0.5 * (info.width + info.gutter + 1)}} + ditherx;
|
||||
|
||||
{{pre_cam._set('yx')}} = scale * rotsin;
|
||||
{{pre_cam._set('yy')}} = scale * rotcos;
|
||||
{{pre_cam._set('yo')}} = scale * -(rotsin * cenx + rotcos * ceny)
|
||||
+ {{0.5 * info.height + info.gutter}} + dithery;
|
||||
+ {{0.5 * (info.height + info.gutter + 1)}} + dithery;
|
||||
|
||||
""").substitute(locals()))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user