Lines Matching refs:nPoint
585 DrawFillPoly(const int nPoint, const float* points, const float color[4]) in DrawFillPoly() argument
589 unsigned int uiSize = nPoint * (sizeof(GLfloat) * 2); in DrawFillPoly()
592 glDrawArrays(GL_TRIANGLE_FAN, 0, nPoint); in DrawFillPoly()
596 DrawPoly(const int nPoint, const float* points, const float color[4], int width) in DrawPoly() argument
602 unsigned int uiSize = nPoint * (sizeof(GLfloat) * 2); in DrawPoly()
605 glDrawArrays(GL_LINE_STRIP, 0, nPoint); in DrawPoly()
629 int nPoint = 0; in DrawEyes() local
633 eyes->GetEyeLinerGeom(ii, &nPoint, &points); in DrawEyes()
634 if (nPoint <= 0 || points == NULL){ in DrawEyes()
637 DrawFillPoly(nPoint, points, black); in DrawEyes()
640 eyes->GetWhiteEyeGeom(ii, &nPoint, &points); in DrawEyes()
641 if (nPoint <= 0 || points == NULL){ in DrawEyes()
644 DrawFillPoly(nPoint, points, white); in DrawEyes()
647 eyes->GetPupilGeom(ii, &nPoint, &points); in DrawEyes()
648 if (nPoint <= 0 || points == NULL){ in DrawEyes()
651 DrawFillPoly(nPoint, points, black); in DrawEyes()