--- incurveeval.cc.old 2012-09-15 02:48:54.000000000 +0200 +++ incurveeval.cc 2019-04-24 22:27:10.584907000 +0200 @@ -186,6 +186,12 @@ if(vertex_flag) { inDoDomain1(&em_vertex, u, temp_vertex); + if(em_vertex.k == 4) + { + temp_vertex[0] /= temp_vertex[3]; + temp_vertex[1] /= temp_vertex[3]; + temp_vertex[2] /= temp_vertex[3]; + } vertexCallBack(temp_vertex, userData); } }