Fixed Warnings and applied informations
This commit is contained in:
parent
ee732240f7
commit
bf1118c261
7 changed files with 104 additions and 18 deletions
|
|
@ -20,7 +20,6 @@ namespace SM_TEST
|
|||
class Program
|
||||
{
|
||||
static Scene scene;
|
||||
private static Font font;
|
||||
private static GLWindow window;
|
||||
private static PolyLine line;
|
||||
static void Main(string[] args)
|
||||
|
|
@ -56,14 +55,10 @@ namespace SM_TEST
|
|||
if (SM.Base.Controls.Mouse.LeftClick)
|
||||
line.Vertex.Add(Vector3.Zero);
|
||||
|
||||
line.Vertex.RemoveAt(1);
|
||||
line.Vertex.Add(new Vector3(Mouse2D.InWorld(window.ViewportCamera as Camera)));
|
||||
line.Vertex[1] = new Vector3(Mouse2D.InWorld(window.ViewportCamera as Camera));
|
||||
line.Update();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private static void WindowOnLoad(IGenericWindow window)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ namespace SM_TEST
|
|||
|
||||
PostProcessUtility.ResolveMultisampledBuffers(MainFramebuffer, _postBuffer);
|
||||
|
||||
//_bloom.Draw(context);
|
||||
// _bloom.Draw(context);
|
||||
Framebuffer.Screen.Activate(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
|
||||
|
||||
PostProcessUtility.FinalizeHDR(_postBuffer["color"], .5f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue