Example #1
0
 public ShaderRenderForm()
 {
     InitializeComponent();
     rayMarch         = new RayMarchDraw();
     codeRichBox.Text = rayMarch.GetSimpleMap();
     codeRichBox.ProcessAllLines();
 }
Example #2
0
        public ShaderRenderForm(string code)
        {
            InitializeComponent();
            rayMarch = new RayMarchDraw();

            codeRichBox.Text = code;
            codeRichBox.ProcessAllLines();
            codeRichBox.Update();
        }