Revision 1535f677
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/examples/generic/GenericRenderer.java | ||
---|---|---|
158 | 158 |
|
159 | 159 |
void resetMatrixEffects() |
160 | 160 |
{ |
161 |
Static3D rotateObj = new Static3D( (float)mObjWidth/2, (float)mObjHeight/2, (float)mObjDepth/2 );
|
|
161 |
Static3D rotateObj = new Static3D( mObjWidth/2, mObjHeight/2, mObjDepth/2 );
|
|
162 | 162 |
|
163 | 163 |
MatrixEffectQuaternion quat1obj = new MatrixEffectQuaternion(mQuat1, rotateObj); |
164 | 164 |
MatrixEffectQuaternion quat2obj = new MatrixEffectQuaternion(mQuat2, rotateObj); |
Also available in: Unified diff
Minor.