Class PointCloudQuadRenderer

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, IRenderSystem
Direct Known Subclasses:
ParticleSetRenderer, StarSetRenderer

public abstract class PointCloudQuadRenderer extends PointCloudRenderSystem implements IObserver
Adds some utils to build quads as a couple of triangles. This should be used by point clouds that render their particles as GL_TRIANGLES.
  • Field Details

  • Constructor Details

  • Method Details

    • index

      protected void index(int idx)
    • quadIndices

      protected void quadIndices(ImmediateModeRenderSystem.MeshData current)
      Adds the indices to make two triangles into a quad, given the four vertices in vertPos.
      Parameters:
      current - The current mesh.