I need to convert <-1;1> to x y coordinations to draw a triangle on screen.
vertices[0].Position = new Vector3(-0.5f, -0.5f, 0f);
How can I convert x y to that float number precisely?
I need to convert <-1;1> to x y coordinations to draw a triangle on screen.
vertices[0].Position = new Vector3(-0.5f, -0.5f, 0f);
How can I convert x y to that float number precisely?