c# - BayazitDecomposer inaccessible when upgrading from Farseer 3.3.1 to Farseer 3.5 -
i used following code in farseer 3.3.1 , worked correctly, in farseer 3.5, error message in following line:
list = bayazitdecomposer.convexpartition(texturevertices); 'farseerphysics.common.decomposition.bayazitdecomposer' inaccessible due protection level what wrong? why code not working farseer 3.5? how can use decomposition tools in farseer 3.5?
well, it's author of package has changed class public internal. far can see, happened in commit 101636.
this breaking change, should not have been done in minor version imo - perhaps author isn't following semantic versioning. should file feature request made public again.
alternatively, try find alternative approach can use achieve same thing. suspect want:
list = triangulate.convexpartition(texturevertices, triangulationalgorithm.bayazit);
Comments
Post a Comment