mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 22:51:58 +00:00
gl_engine: fix by coding convention.
A *a; (x) A* a; (o) A &a; (x) A& a; (o)
This commit is contained in:
parent
af190033bb
commit
a61c8cc360
5 changed files with 22 additions and 22 deletions
|
@ -121,7 +121,7 @@ bool GlGeometry::generateAAPoints(TVG_UNUSED const Shape &shape, float strokeWd,
|
|||
{
|
||||
for (auto& shapeGeometry : mPrimitives)
|
||||
{
|
||||
std::vector<PointNormals> normalInfo;
|
||||
vector<PointNormals> normalInfo;
|
||||
constexpr float blurDir = -1.0f;
|
||||
float antiAliasWidth = 1.0f;
|
||||
vector<SmoothPoint>& aaPts = shapeGeometry.mAAPoints;
|
||||
|
@ -330,14 +330,14 @@ void GlGeometry::addPoint(GlPrimitive& primitve, const GlPoint &pt, GlPoint &min
|
|||
primitve.mAAPoints.push_back(GlPoint(pt.x, pt.y));
|
||||
}
|
||||
|
||||
void GlGeometry::addTriangleFanIndices(uint32_t &curPt, std::vector<uint32_t> &indices)
|
||||
void GlGeometry::addTriangleFanIndices(uint32_t& curPt, vector<uint32_t>& indices)
|
||||
{
|
||||
indices.push_back(0);
|
||||
indices.push_back(curPt - 1);
|
||||
indices.push_back(curPt);
|
||||
}
|
||||
|
||||
void GlGeometry::addQuadIndices(uint32_t &curPt, std::vector<uint32_t> &indices)
|
||||
void GlGeometry::addQuadIndices(uint32_t& curPt, vector<uint32_t>& indices)
|
||||
{
|
||||
indices.push_back(curPt);
|
||||
indices.push_back(curPt + 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue