mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-01 10:42:57 +02:00
delete m_cumulate
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
# m_cumulate
|
||||
|
||||
The power of using transformation matrice is that you can cumulate all transformations in a matrix. This function multipies all transformation matrice.
|
||||
|
||||
**Since:** 1.1
|
||||
|
||||
## Parameters
|
||||
|
||||
The dir changed since 2.0.
|
||||
|
||||
- `matrice` : A list of 4x4 transformation matrice.
|
||||
|
||||
## Examples
|
||||
|
||||
use <matrix/m_rotation.scad>;
|
||||
use <matrix/m_scaling.scad>;
|
||||
use <matrix/m_translation.scad>;
|
||||
use <matrix/m_cumulate.scad>
|
||||
|
||||
m = m_cumulate([
|
||||
m_translation([10, 20, 10]), m_scaling(2), m_rotation(60)]
|
||||
);
|
||||
|
||||
multmatrix(m)
|
||||
cube(1);
|
||||
|
||||
multmatrix(m)
|
||||
sphere(1);
|
||||
|
||||
|
||||

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