mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 06:26:42 +01:00
- [Repeat] Fix repeat rotation wrap around too fast.
This commit is contained in:
parent
a7fcefa5ef
commit
2f6e7d2abb
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ function Node_Repeat(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) co
|
||||||
|
|
||||||
scax = eval_curve_x(_msca, i / (_amo - 1)) * _rsca;
|
scax = eval_curve_x(_msca, i / (_amo - 1)) * _rsca;
|
||||||
scay = scax;
|
scay = scax;
|
||||||
rot = _rrot[0] + (_rrot[1] - _rrot[0]) * i / (_amo - 1);
|
rot = _rrot[0] + (_rrot[1] - _rrot[0]) * i / _amo;
|
||||||
|
|
||||||
var _an_dist = abs(i - _an_mid * (_amo - 1));
|
var _an_dist = abs(i - _an_mid * (_amo - 1));
|
||||||
var _inf = 0;
|
var _inf = 0;
|
||||||
|
|
Loading…
Reference in a new issue