Revision 2fef9669
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/effect/MatrixEffectShear.java | ||
---|---|---|
87 | 87 |
* |
88 | 88 |
* @param shear The 3-tuple of shear factors. The first controls level |
89 | 89 |
* of shearing in the X-axis, second - Y-axis and the third - |
90 |
* Z-axis. Each is the tangens of the shear angle, i.e 0 -
|
|
90 |
* Z-axis. Each is the tangent of the shear angle, i.e 0 -
|
|
91 | 91 |
* no shear, 1 - shear by 45 degrees (tan(45deg)=1) etc. |
92 | 92 |
* @param center Center of shearing, i.e. the point which stays unmoved. |
93 | 93 |
*/ |
Also available in: Unified diff
Correct the z-axis of the center of fragment effects (it was inverted)