Example #1
0
        public WaveMachine()
        {
            using (SimWin = new WaveSimWindow(800, 600, "Wave Simulator"))
            {
                Helper = new PrimitiveHelper(SimWin);

                Helper.AppendRectPrism(-5f, 0.005f, -5f, 0.01f, 1f, 0.01f, 1f, 0.7f, 0.1f, 1f);

                Helper.UpdateVertices();

                SimWin.VSync = VSyncMode.Adaptive;
                SimWin.Run(60, 0);
            }
        }
Example #2
0
 public PrimitiveHelper(WaveSimWindow window)
 {
     Window = window;
 }