Revision 8c3cdec5
Added by Leszek Koltunski about 8 years ago
src/main/java/org/distorted/library/DistortedObject.java | ||
---|---|---|
555 | 555 |
/** |
556 | 556 |
* Shears the Object. |
557 | 557 |
* |
558 |
* @param shear The 3-tuple of shear factors. |
|
558 |
* @param shear The 3-tuple of shear factors. The first controls level |
|
559 |
* of shearing in the X-axis, second - Y-axis and the third - |
|
560 |
* Z-axis. Each is the tangens of the shear angle, i.e 0 - |
|
561 |
* no shear, 1 - shear by 45 degrees (tan(45deg)=1) etc. |
|
559 | 562 |
* @param center Center of shearing, i.e. the point which stays unmoved. |
560 | 563 |
* @return ID of the effect added, or -1 if we failed to add one. |
561 | 564 |
*/ |
Also available in: Unified diff
Progress with Wind