Skip to content

Draw Polygon wrong #1319

Closed
Closed
@NgVThangBz

Description

@NgVThangBz

Currently DrawNode->drawPolygon is using the wrong triangulation method (from cocos2dx), which leads to complex and concave polylines being drawn incorrectly.

why not replace the more accurate triangulation with triangulation algorithms (poly2tri...??)

cocos2dx v3 now has a new update to draw polygon more accurately (not released yet), i haven't tried it but maybe it will work, or use poly2tri to be able to triangulate correctly than

Metadata

Metadata

Assignees

No one assigned

    Labels

    cocos2dxThe issue present in original cocos2dxenhancementNew feature or requestlong term

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions