Closed songzy12 closed 2 years ago
So what is the Android version for Harmony 2.0?
https://arstechnica.com/gadgets/2021/06/huaweis-harmonyos-will-rollout-to-100-android-models-over-the-next-year/ At least Android 11?
private final float[] mRotationMatrix = new float[16];
public void onSensorChanged(SensorEvent event) {
if (event.sensor.getType() == Sensor.TYPE_ROTATION_VECTOR) {
SensorManager.getRotationMatrixFromVector(
mRotationMatrix, event.values);
gl.glMultMatrixf(mRotationMatrix, 0);
Milestones: