/** * Extracts the roll Euler angle from the current orientation. * * @return double The roll Euler angle. */ public double getRotX() { return mOrientation.getPitch(); }
/** * 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 rotY double The yaw angle in degrees. * @return A reference to this {@link ATransformable3D} to facilitate chaining. */ public ATransformable3D setRotY(double rotY) { mOrientation.fromEuler(rotY, mOrientation.getPitch(), mOrientation.getRoll()); mLookAtValid = false; markModelMatrixDirty(); return this; }