What is a triangle "mode"?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
What is a triangle "mode"?
I'm new to LOVE (but not to Lua) and in the love.graphics module there's a triangle. I looked at the triangle and the first argument is "mode." Playing around with it I know now it's a string value, but I don't know what string values are valid. So, what is mode?
Re: What is a triangle "mode"?
It's DrawMode, which describes whether the triangle (or any other shape, as it's used in rectangle and circle and polygon and the rest) is drawn as an outline or as a filled shape. Your choices are "fill" or "line".
The wiki has all these modes available for your perusal!
The wiki has all these modes available for your perusal!
Who is online
Users browsing this forum: Google [Bot] and 6 guests