Updated Scale (markdown)
parent
9b74cfdec2
commit
2631893311
18
Scale.md
18
Scale.md
@ -15,5 +15,23 @@ Scales a list of locations or vectors by a number.
|
||||
***
|
||||
|
||||
## Effect of direction vector on scaling
|
||||
With scaling factor = 1
|
||||
|
||||
Scaling|Direction Vector
|
||||
---|---
|
||||
all points move to the center|0, 0, 0
|
||||
no scaling|1, 1, 1
|
||||
scaling by a factor of 2|2, 2, 2
|
||||
scaling by a factor of 2 in the x-direction|2, 1, 1
|
||||
scaling by a factor of 2 in the y-direction|1, 2, 1
|
||||
scaling by a factor of 2 in the z-direction|1, 1, 2
|
||||
shrinking by a factor of 2|1/2, 1/2, 1/2
|
||||
shrinking by a factor of 3|1/3, 1/3, 1/3
|
||||
scaling by a factor of a, b, c in the x-, y- and z-direction|a, b, c
|
||||
|
||||
Note that the scaling factor just multiplies all the scalings applied by the direction vector. Using a scaling factor of 2 and a direction vector of 1, 2, 3 is the same as using a scaling factor of 1 and a direction vector 2, 4, 8.
|
||||
|
||||
***
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user