Skip to content

Commit

Permalink
+ Fog
Browse files Browse the repository at this point in the history
+ libGDX: cleaning my resources
  • Loading branch information
blackbluegl committed May 28, 2013
1 parent 5e0bb51 commit 30cfe6e
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 23 deletions.
2 changes: 1 addition & 1 deletion demos/cuboc/cuboc-android/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# project structure.

# Project target.
target=android-16
target=android-17
2 changes: 1 addition & 1 deletion demos/invaders/gdx-invaders-android/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-16
target=android-17
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-16
target=android-17
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# project structure.

# Project target.
target=android-16
target=android-17
2 changes: 1 addition & 1 deletion extensions/gdx-remote/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# project structure.

# Project target.
target=android-16
target=android-17
Binary file not shown.
Binary file removed tests/gdx-tests-android/assets/data/g3d/ship.png
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/gdx-tests-android/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-16
target=android-17
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public abstract class BaseG3dHudTest extends BaseG3dTest {

protected String models[] = new String[] {
"car.obj", "cube.obj", "scene.obj", "scene2.obj", "sphere.obj", "wheel.obj",
"g3d/head.g3db", "g3d/knight.g3dj", "g3d/knight.g3db", "g3d/teapot.g3db", "g3d/fighter.g3db"
"g3d/head.g3db", "g3d/knight.g3dj", "g3d/knight.g3db", "g3d/teapot.g3db"
};

@Override
Expand Down
16 changes: 0 additions & 16 deletions tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ModelTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ protected void switchAnimation() {
}
}

Vector3 tmpTrans = new Vector3();
protected void moveUpDown(int dir) {
for (final ModelInstance instance : instances) {
instance.transform.getTranslation(tmpTrans);

instance.transform.setToTranslation(tmpTrans.x, tmpTrans.y + Gdx.graphics.getDeltaTime()*dir, tmpTrans.z );
//instance.transform.val[13] += Gdx.graphics.getDeltaTime()*dir;
}
}

@Override
public boolean needsGL20 () {
return true;
Expand All @@ -142,12 +132,6 @@ public boolean needsGL20 () {
public boolean keyUp (int keycode) {
if (keycode == Keys.SPACE || keycode == Keys.MENU)
switchAnimation();

if (keycode == Keys.S) {
moveUpDown(-2);
} else if (keycode == Keys.W) {
moveUpDown(2);
}
return super.keyUp(keycode);
}
}

0 comments on commit 30cfe6e

Please sign in to comment.