/** * Extracts the yaw Euler angle from the current orientation. * * @return double The yaw Euler angle. */ public double getRotY() { return mOrientation.getYaw(); }
/** * Adjusts the rotation of this {@link ATransformable3D} by the rotation described by the provided * Euler angle. If this is part of a scene graph, the graph will be notified of the change. * * @param rotZ double The pitch angle in degrees. * @return A reference to this {@link ATransformable3D} to facilitate chaining. */ public ATransformable3D setRotZ(double rotZ) { mOrientation.fromEuler(mOrientation.getYaw(), rotZ, mOrientation.getRoll()); mLookAtValid = false; markModelMatrixDirty(); return this; }