mirror of https://github.com/axmolengine/axmol.git
optimize rendering code
This commit is contained in:
parent
7ab4e0de3a
commit
2348e5c247
|
@ -595,8 +595,7 @@ void Renderer::fillQuads(const QuadCommand *cmd)
|
|||
|
||||
for(ssize_t i=0; i< cmd->getQuadCount() * 4; ++i)
|
||||
{
|
||||
V3F_C4B_T2F *q = &_quadVerts[i + _numberQuads * 4];
|
||||
Vec3 *vec1 = (Vec3*)&q->vertices;
|
||||
Vec3 *vec1 = (Vec3*)&(_quadVerts[i + _numberQuads * 4].vertices);
|
||||
modelView.transformPoint(vec1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue