Cyclone112 Posted December 10, 2016 Share Posted December 10, 2016 I noticed that Phaser.Graphics has a function called drawTriangle which I was able to use but when I go to the Graphics docs it's nowhere to be found. Just wondering if I'm somehow missing where it's defined in the documentation or is it just missing for some reason? If it's missing then it has me wondering what else is missing from the documentation. Link to comment Share on other sites More sharing options...
Branlin Posted December 10, 2016 Share Posted December 10, 2016 I saw the description of this method in the documentation for older versions of the framework it missed a documentation generator, because there is no second asterisk in the opening comments https://github.com/photonstorm/phaser/blob/620abf98bd93f4ac139c9723c1b0d6bb99ba3728/v2/src/gameobjects/Graphics.js#L153 Cyclone112 1 Link to comment Share on other sites More sharing options...
Cyclone112 Posted December 10, 2016 Author Share Posted December 10, 2016 Oh wow, can't believe it was that simple. I presume it went unnoticed since it's probably not a commonly used function at all. Thanks Branlin Link to comment Share on other sites More sharing options...
Recommended Posts