protected override void DoRender(RenderEventArgs arg)
{
mat4 projection = arg.Camera.GetProjectionMatrix();
mat4 view = arg.Camera.GetViewMatrix();
mat4 model = glm.scale(mat4.identity(), this.Scale);
this.SetUniform("projectionMatrix", projection);
this.SetUniform("viewMatrix", view);
this.SetUniform("modelMatrix", model);
this.SetUniform("lineColor", this.LineColor.ToVec3());
base.DoRender(arg);
}