Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Bart Louwers
parent
375083b6cf
commit
9a4e0f14d0
@@ -97,11 +97,13 @@ public:
|
||||
void addQuad(int16_t x0, int16_t y0, int16_t x1, int16_t y1);
|
||||
|
||||
/// Add already-set-up triangles directly
|
||||
|
||||
void addTriangles(const std::vector<std::array<int16_t,2>>& vertices,
|
||||
std::size_t vertexOffset, std::size_t vertexLength,
|
||||
|
||||
void addTriangles(const std::vector<std::array<int16_t, 2>>& vertices,
|
||||
std::size_t vertexOffset,
|
||||
std::size_t vertexLength,
|
||||
const std::vector<uint16_t>& indexes,
|
||||
std::size_t indexOffset, std::size_t indexLength);
|
||||
std::size_t indexOffset,
|
||||
std::size_t indexLength);
|
||||
|
||||
/// Add a tweaker to be attached to each emitted drawable
|
||||
void addTweaker(DrawableTweakerPtr tweaker) { tweakers.emplace_back(std::move(tweaker)); }
|
||||
|
||||
Reference in New Issue
Block a user