diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-24 14:23:15 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-24 14:23:15 -0700 |
commit | b95a3e36b9a9a652b4c7540831f655b608652b24 (patch) | |
tree | 1a611ac1a04cda56bffa112ffeef83c8c9ea0106 /src/modules/swarm | |
parent | ffc5dddedf9edf7ccb9ca13fe9b29f322811fd52 (diff) |
modules/shapes: clamp {scale,pinch_factor} to 0-1
It might be worthwhile to support >1 for these, but as-is it
crashes due to assumptions WRT shape size not exceeding frame
dimensions.
This just prevents crashes if someone tries putting a >1 value in
something like a rkt track for scale/pinch_factor.
Diffstat (limited to 'src/modules/swarm')
0 files changed, 0 insertions, 0 deletions