mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-18 14:48:25 +01:00
423 B
423 B
m_scaling
The dir changed since 2.0.
Generate a 4x4 transformation matrix which can pass into multmatrix
to scale its child elements using the specified vector.
Since: 1.1
Parameters
v
: Elements will be scaled using the vector.
Examples
use <matrix/m_scaling.scad>;
cube(10);
translate([15, 0, 0])
multmatrix(m_scaling([0.5, 1, 2]))
cube(10);