love.graphics.setFrontFaceWinding
Available since LÖVE 0.11.0 |
This function is not supported in earlier versions. |
Sets whether triangles with clockwise- or counterclockwise-ordered vertices are considered front-facing.
This is designed for use in combination with Mesh face culling. Other love.graphics shapes, lines, and sprites are not guaranteed to have a specific winding order to their internal vertices.
Function
Synopsis
love.graphics.setFrontFaceWinding( winding )
Arguments
VertexWinding winding
- The winding mode to use ("ccw" or "cw"). The default winding is counterclockwise ("ccw").
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info