Revision 334c13fa
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DRenderer.java | ||
---|---|---|
101 | 101 |
|
102 | 102 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
103 | 103 |
|
104 |
void setCenter(float x, float y) |
|
104 |
void setCenter(float x, float y, float z)
|
|
105 | 105 |
{ |
106 |
mCenterPoint.set(mFactorObj*x,mFactorObj*y,0);
|
|
106 |
mCenterPoint.set(mFactorObj*x,mFactorObj*y,mFactorObj*z);
|
|
107 | 107 |
} |
108 | 108 |
|
109 | 109 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Make the effect Center be always 3D.