I’m trying to do what the examples in the api docs says and do auto ap = AutoPolygon(); (see http://www.cocos2d-x.org/docs/api-ref/cplusplus/v3x/d0/dc7/group____2d.html#gaf7aa01d120468eb4d2de01de26ade807)
But I get an error that says “Error: No intance of constructor … matches the argument list.”
Are the examples outdated or am I doing something wrong?