here you pass the points and not the surf. You need to pass the faces too.