Class ShaderDemo


  • public class ShaderDemo
    extends Object
    • Field Detail

      • CHART_CANVAS_AUTOSWAP

        public static boolean CHART_CANVAS_AUTOSWAP
    • Constructor Detail

      • ShaderDemo

        public ShaderDemo()
    • Method Detail

      • main

        public static void main​(String[] args)
      • createStack

        public static void createStack​(Chart chart,
                                       float width,
                                       float height,
                                       float position,
                                       Color face,
                                       Color wireframe)
      • createLine

        public static void createLine​(Chart chart,
                                      Coord3d c1,
                                      Coord3d c2,
                                      int width)
      • createCylinder

        public static void createCylinder​(Chart chart,
                                          Coord3d c1Position,
                                          float height,
                                          float radius,
                                          Color color)
      • createStack

        public static void createStack​(Chart chart,
                                       int width,
                                       int height,
                                       int position,
                                       Color face,
                                       Color wireframe)
      • initChart

        public static Chart initChart()