1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

add m_scaling

This commit is contained in:
Justin Lin
2019-04-28 14:58:39 +08:00
parent 29e387cdcf
commit 87f5a89cbb

6
src/m_scaling.scad Normal file
View File

@@ -0,0 +1,6 @@
function m_scaling(v) = [
[v[0], 0, 0, 0],
[0, v[1], 0, 0],
[0, 0, v[2], 0],
[0, 0, 0, 1]
];