public UICamera(GraphicsDevice Devc)
{
m_Device = Devc;
m_NearPlane = 1.0f;
m_FarPlane = 800.0f; //TODO: Should this be changed based on resolution?
//Assume the projection is full screen, center origin.
m_ProjectionOrigin = new Vector2(
m_Device.Viewport.Width / 2.0f,
m_Device.Viewport.Height / 2.0f);
CalculateProjection();
CalculateView();
}