Solved the correct calculation on bezier splin drawing, added ngon drawing of curves by open gl