mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 05:21:38 +02:00
support number
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
function m_scaling(v) = [
|
function m_scaling(s) =
|
||||||
[v[0], 0, 0, 0],
|
let(v = len(s) == 3 ? s : [s, s, s])
|
||||||
[0, v[1], 0, 0],
|
[
|
||||||
[0, 0, v[2], 0],
|
[v[0], 0, 0, 0],
|
||||||
[0, 0, 0, 1]
|
[0, v[1], 0, 0],
|
||||||
];
|
[0, 0, v[2], 0],
|
||||||
|
[0, 0, 0, 1]
|
||||||
|
];
|
Reference in New Issue
Block a user