Spec-Zone.ru › LÖVE

love.graphics.setFrontFaceWinding

Available since LÖVE 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. The default winding is counterclockwise ("ccw").

Returns

Nothing.

See Also

  • love.graphics
  • love.graphics.getFrontFaceWinding
  • love.graphics.setMeshCullMode
  • Mesh


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setFrontFaceWinding

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API