please extension develover give me sample open gl in extension kodular
public void rotate(float phi, float theta) {
Quaternion phiRot = new Quaternion(0, 1, 0, (float)Math.toRadians(phi/2));
Quaternion thetaRot = new Quaternion(1, 0, 0, (float)Math.toRadians(theta/2));
Quaternion temp = thetaRot.mul(phiRot);
float[] rotate = temp.toMatrix();
float transMinus[] = new float[16];
float transPlus[] = new float[16];
Matrix.setIdentityM(transMinus, 0);
Matrix.setIdentityM(transPlus, 0);
Matrix.translateM(transMinus, 0, 0, 0, -3);
Matrix.translateM(transPlus, 0, 0, 0, 3);
Matrix.multiplyMM(rotate, 0, transMinus, 0, rotate, 0);
Matrix.multiplyMM(rotate, 0, rotate, 0, transPlus, 0);
camera.multiply(rotate);
}