gl_engine: fix by coding convention.

A *a; (x)
A* a; (o)
A &a; (x)
A& a; (o)
This commit is contained in:
Hermet Park 2020-09-08 15:24:00 +09:00
parent af190033bb
commit a61c8cc360
5 changed files with 22 additions and 22 deletions

View file

@ -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);