Revision 6f3024ae
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/catanddog/CatAndDogRenderer.java | ||
---|---|---|
56 | 56 |
|
57 | 57 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
58 | 58 |
|
59 |
public CatAndDogRenderer(GLSurfaceView v)
|
|
59 |
CatAndDogRenderer(GLSurfaceView v) |
|
60 | 60 |
{ |
61 | 61 |
mView = v; |
62 | 62 |
|
... | ... | |
131 | 131 |
|
132 | 132 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
133 | 133 |
{ |
134 |
int duration = 10000; |
|
134 |
int duration = 10000; // 10 seconds
|
|
135 | 135 |
|
136 | 136 |
Dynamic3D diMove = new Dynamic3D(duration,0.0f); |
137 | 137 |
diMove.add(new Static3D(width-bmpWidth,height-bmpHeight,0)); |
Also available in: Unified diff
Fix a lot of Lint warnings in the apps.