Difference between revisions of "love.graphics.getFrontFaceWinding"
(Created page) |
m (0.11.0 -> 11.0) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=function}} |
− | |||
Gets whether triangles with clockwise- or counterclockwise-ordered vertices are considered front-facing. | Gets whether triangles with clockwise- or counterclockwise-ordered vertices are considered front-facing. | ||
Line 13: | Line 12: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|VertexWinding|winding|The winding mode | + | {{param|VertexWinding|winding|The winding mode being used. The default winding is counterclockwise ("ccw").}} |
== See Also == | == See Also == |
Latest revision as of 12:49, 29 December 2018
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets 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
winding = love.graphics.getFrontFaceWinding( )
Arguments
None.
Returns
VertexWinding winding
- The winding mode being used. The default winding is counterclockwise ("ccw").
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