11-19-2022, 09:54 PM
Just a little comma confusion on my part.
https://qb64phoenix.com/qb64wiki/index.php/MAPTRIANGLE
This is from example 3 - about the half-way point in the program:
I'm not sure what the commas do at the end of the line.
The same thing can be found in this example:
The only wording I've seen so far is on the circle wiki page which seems to suggest this is about "aspect". I believe this changes the circle to an ellipse. But no real mention of using 3 commas in a row as a plan of attack. I'm starting to expect to see more inexplicable multiple commas as I read more program examples.
If anyone can explain this a bit more, please do. Cheers!
https://qb64phoenix.com/qb64wiki/index.php/MAPTRIANGLE
This is from example 3 - about the half-way point in the program:
Code: (Select All)
_MapTriangle (0, 0)-(255, 255)-(255, 0), TextureImage& To(xx3%, yy3%)-(xx1%, yy1%)-(xx4%, yy4%), , _Smooth
I'm not sure what the commas do at the end of the line.
The same thing can be found in this example:
Code: (Select All)
Circle (400, 450), 10, _RGB32(100, 100, 100), , , .5
The only wording I've seen so far is on the circle wiki page which seems to suggest this is about "aspect". I believe this changes the circle to an ellipse. But no real mention of using 3 commas in a row as a plan of attack. I'm starting to expect to see more inexplicable multiple commas as I read more program examples.
If anyone can explain this a bit more, please do. Cheers!