winding order from tesellator.h to formats.h (flutter/engine#49865)

i have removed WindingOrder from tesellator.h and moved it to formats.h . Fixes https://github.com/flutter/flutter/issues/138832

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Nishant Kumar 2024-01-26 02:35:18 +05:30 committed by GitHub
parent a0953fac8d
commit f27cfea630
2 changed files with 5 additions and 5 deletions

View File

@ -19,6 +19,11 @@
namespace impeller {
enum class WindingOrder {
kClockwise,
kCounterClockwise,
};
class Texture;
//------------------------------------------------------------------------------

View File

@ -24,11 +24,6 @@ void DestroyTessellator(TESStesselator* tessellator);
using CTessellator =
std::unique_ptr<TESStesselator, decltype(&DestroyTessellator)>;
enum class WindingOrder {
kClockwise,
kCounterClockwise,
};
//------------------------------------------------------------------------------
/// @brief A utility that generates triangles of the specified fill type
/// given a polyline. This happens on the CPU.