I'm making a graph drawing program where I'm using an sf::VertexArray to represent the graph itself. My problem comes from graphs such as y=asin(1/x). These graphs have a gap in the middle where the value of y is undefined. My problem is, how do I stop the vertex array from drawing specific vertices? Even with a circle equation, I'll have to stop it drawing the vertices before and after the circle so is there any way to do this?