public ShaderRenderForm() { InitializeComponent(); rayMarch = new RayMarchDraw(); codeRichBox.Text = rayMarch.GetSimpleMap(); codeRichBox.ProcessAllLines(); }
public ShaderRenderForm(string code) { InitializeComponent(); rayMarch = new RayMarchDraw(); codeRichBox.Text = code; codeRichBox.ProcessAllLines(); codeRichBox.Update(); }