summaryrefslogtreecommitdiff
path: root/src/modules/stars/draw.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-24 14:23:15 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-24 14:23:15 -0700
commitb95a3e36b9a9a652b4c7540831f655b608652b24 (patch)
tree1a611ac1a04cda56bffa112ffeef83c8c9ea0106 /src/modules/stars/draw.h
parentffc5dddedf9edf7ccb9ca13fe9b29f322811fd52 (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/stars/draw.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved