Class RotateYBatch

All Implemented Interfaces:
AutoCloseable, react.Closeable

public class RotateYBatch extends TriangleBatch
Rotates the view through a 3D transform around the Y axis. Can be used to simulate a (rigid) page turn.
  • Field Details

    • angle

      public float angle
      The angle of rotation.
  • Constructor Details

    • RotateYBatch

      public RotateYBatch(GL20 gl, float eyeX, float eyeY, float zScale)
  • Method Details

    • begin

      public void begin(float fbufWidth, float fbufHeight, boolean flip)
      Overrides:
      begin in class TriangleBatch