mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-02-24 01:22:27 +01:00
format
This commit is contained in:
parent
d3618e968f
commit
6873f12403
@ -1,8 +1,7 @@
|
||||
function __m_scaling_to_3_elems_scaling_vect(s) =
|
||||
let(leng = len(s))
|
||||
leng == 3 ? s : (
|
||||
leng == 2 ? [s[0], s[1], 1] : [s[0], 1, 1]
|
||||
);
|
||||
leng == 3 ? s :
|
||||
leng == 2 ? [s[0], s[1], 1] : [s[0], 1, 1];
|
||||
|
||||
function __m_scaling_to_scaling_vect(s) = is_num(s) ? [s, s, s] : __m_scaling_to_3_elems_scaling_vect(s);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user