mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-25 05:51:41 +02:00
update all docs
This commit is contained in:
22
docs/lib2x-m_translation.md
Normal file
22
docs/lib2x-m_translation.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# m_translation
|
||||
|
||||
The dir changed since 2.0.
|
||||
|
||||
Generate a 4x4 transformation matrix which can pass into `multmatrix` to translates (moves) its child elements along the specified vector.
|
||||
|
||||
**Since:** 1.1
|
||||
|
||||
## Parameters
|
||||
|
||||
- `v` : Elements will be translated along the vector.
|
||||
|
||||
## Examples
|
||||
|
||||
use <matrix/m_translation.scad>;
|
||||
|
||||
cube(2, center = true);
|
||||
multmatrix(m_translation([5, 0, 0]))
|
||||
sphere(1);
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user