Creating a poly with tile image inside

magic

Active member
3rd Party Module Dev
3rd Party Tool Dev
Joined
Mar 5, 2018
Messages
249
What!
OMG :love::love::love: 👋👋🙏


Thank YOU @Phil7. I will try that a.s.a.p.
 

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,500
@Phil7 what is the difference to drawprimitive with the order greater than 3?
 

Phil7

Administrator
CX Code Contributor
3rd Party Tool Dev
Joined
Jun 26, 2017
Messages
735
It's the same, but you don't have to specify the texture coords for each vertex. And I didn't use drawprimitives because I can omit one loop through the verts array and one function call.
The reason why I didn't touch DrawPoly() is that I didn't want to change existing behaviour until I have a real DrawPoly function that can deal with only the outline coords and nearly all shapes of polygons. But for this I have to take some math lessons first ;-)
 
Top Bottom