public override void Clear(IColorType color) { RGBA_Doubles colorDoubles = color.GetAsRGBA_Doubles(); Gl.glClearColor((float)colorDoubles.R, (float)colorDoubles.G, (float)colorDoubles.B, (float)colorDoubles.A); Gl.glClear(Gl.GL_COLOR_BUFFER_BIT | Gl.GL_DEPTH_BUFFER_BIT); }
public void ActiveColor(IColorType c) { m_active_color = c.GetAsRGBA_Doubles(); }
public void TextColor(IColorType c) { m_text_color = c.GetAsRGBA_Doubles(); }
public override void Clear(IColorType color) { RGBA_Doubles colorDoubles = color.GetAsRGBA_Doubles(); Gl.glClearColor((float)colorDoubles.m_r, (float)colorDoubles.m_g, (float)colorDoubles.m_b, (float)colorDoubles.m_a); Gl.glClear(Gl.GL_COLOR_BUFFER_BIT | Gl.GL_DEPTH_BUFFER_BIT); }
public void ActiveColor(IColorType c) { m_active_color = c.GetAsRGBA_Doubles(); }
public void TextColor(IColorType c) { m_text_color = c.GetAsRGBA_Doubles(); }
public void line_color(IColorType c) { m_color = c.GetAsRGBA_Doubles(); }