doubled point values and inverted x,y to match opengl directions