Class LineRenderSystem

java.lang.Object
All Implemented Interfaces:
IRenderSystem
Direct Known Subclasses:
LineQuadRenderSystem

public class LineRenderSystem
extends ImmediateRenderSystem
  • Field Details

    • camera

      protected ICamera camera
    • aux2

      protected com.badlogic.gdx.math.Vector3 aux2
  • Constructor Details

  • Method Details

    • initShaderProgram

      protected void initShaderProgram()
      Specified by:
      initShaderProgram in class ImmediateRenderSystem
    • initVertices

      protected void initVertices()
      Specified by:
      initVertices in class ImmediateRenderSystem
    • buildVertexAttributes

      protected com.badlogic.gdx.graphics.VertexAttribute[] buildVertexAttributes()
    • renderStud

      public void renderStud​(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
      Specified by:
      renderStud in class AbstractRenderSystem
    • breakLine

      public void breakLine()
      Breaks current line of points
    • addPoint

      public void addPoint​(ILineRenderable lr, double x, double y, double z, float r, float g, float b, float a)
    • addLine

      public void addLine​(ILineRenderable lr, double x0, double y0, double z0, double x1, double y1, double z1, com.badlogic.gdx.graphics.Color col)
    • addLine

      public void addLine​(ILineRenderable lr, double x0, double y0, double z0, double x1, double y1, double z1, float r, float g, float b, float a)
    • addLinePostproc

      public void addLinePostproc​(double x0, double y0, double z0, double x1, double y1, double z1, double r, double g, double b, double a)