@Override public void onDrawFrame(GL10 glUnused) { super.onDrawFrame(glUnused); getCurrentCamera().setZ(dist); // mObject.setRotation(mAccValues.x, mAccValues.y, mAccValues.z); getCurrentCamera().setZ(dist); if (direction == 1) mObject.setRotY(mObject.getRotY() - 2); else if (direction == 2) mObject.setRotY(mObject.getRotY() + 2); else if (direction == 3) mObject.setRotX(mObject.getRotX() - 2); else if (direction == 4) mObject.setRotX(mObject.getRotX() + 2); }
@Override public void onDrawFrame(GL10 glUnused) { // mTexture.updateTexImage(); super.onDrawFrame(glUnused); if (izLoaded == false) { clearScene(); loadScene(); izLoaded = true; } // iterate thru objects for interactivity if (doLoad == true) {} }