Jump to content

PIXI.Graphic's Warning when i use drawPolygon


GBear
 Share

Recommended Posts

i got Warning message when use drawPolygon on pixi.2.0 but it didn't get under pixi.1.6

 

==

                window.console.log("PIXI Warning: shape too complex to fill");

==

 

 

this is position that get warning message - (some position throw warning message);

 

var polys = [-25.462847170112916, -37.76405195625675, -52.63900636966035, -1.8473708269515825, -35.62934780909218, 9.237338914502004, -18.613880344679394, -32.69148423731861, -25.462847170112916, -37.76405195625675];

 

 

do you know why?

 

 

thx...

 

 

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...