- Forums
- »
- Programming with Haxe
- »
- How works the color argument in nme.Graphics.drawTriangles ?
|
Viewing 1 to 5 (5 Total) How works the color argument in nme.Graphics.drawTriangles ? |
|
|---|---|
tlecozTotal Posts: 31
Joined: November 26, 2011
|
Hello !
Tags:
Posted on November 27, 2011 at 9:09 PM
|
singmajestyTotal Posts: 2141
Joined: August 25, 2011
|
Re: How works the color argument in nme.Graphics.drawTriangles ?I just made a change to SVN, which changes a couple things with drawTriangles which may be of help.
Posted on November 28, 2011 at 1:44 PM
|
tlecozTotal Posts: 31
Joined: November 26, 2011
|
Re: How works the color argument in nme.Graphics.drawTriangles ?Nice ! Thank you !
Posted on November 28, 2011 at 2:09 PM
|
singmajestyTotal Posts: 2141
Joined: August 25, 2011
|
Re: How works the color argument in nme.Graphics.drawTriangles ?I believe it should work just fine with bitmaps. Yeah, just call beginBitmapFill first -- I was testing with only a solid color fill, so that's why I was handling that error case. I believe the vertex colors were specifically added for use with bitmaps originally
Posted on November 28, 2011 at 2:30 PM
|
tlecozTotal Posts: 31
Joined: November 26, 2011
|
Re: How works the color argument in nme.Graphics.drawTriangles ?Fantastic !!! Youpi !!!
Posted on November 28, 2011 at 3:20 PM
|
