mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
A few trivial syntax corrections in the vars
This commit is contained in:
parent
8d237d62b0
commit
78835085e8
@ -102,7 +102,7 @@ var(12, 'ex', """
|
||||
""")
|
||||
|
||||
var(13, 'julia', """
|
||||
float a = 0.5f * atan2f(tx, ty)
|
||||
float a = 0.5f * atan2f(tx, ty);
|
||||
if (mwc_next(rctx) & 1) a += M_PI;
|
||||
float r = w * sqrtf(tx*tx + ty*ty);
|
||||
ox += r * cosf(a);
|
||||
@ -299,8 +299,8 @@ var(34, 'blur', """
|
||||
|
||||
var(35, 'gaussian', """
|
||||
float ang = mwc_next_01(rctx) * 2.0f * M_PI;
|
||||
float r = weight * ( mwc_next_01(rctx) + mwc_next_01(rctx)
|
||||
+ mwc_next_01(rctx) + mwc_next_01(rctx) - 2.0f );
|
||||
float r = w * ( mwc_next_01(rctx) + mwc_next_01(rctx)
|
||||
+ mwc_next_01(rctx) + mwc_next_01(rctx) - 2.0f );
|
||||
ox += r * cosf(ang);
|
||||
oy += r * sinf(ang);
|
||||
""")
|
||||
@ -342,7 +342,7 @@ var(38, 'ngon', """
|
||||
|
||||
ox += w * tx * amp;
|
||||
oy += w * ty * amp;
|
||||
"""}
|
||||
""")
|
||||
|
||||
var(39, 'curl', """
|
||||
float c1 = {{px.get('xf.curl_c1')}};
|
||||
|
Loading…
Reference in New Issue
Block a user