Lines Matching refs:count

247     s32 count = this->BuildLine(p1, p2, m_LineWidth, &m_PositionStream[0]);  in DrawLine()  local
251 glDrawArrays ( GL_TRIANGLES, 0, count); in DrawLine()
262 s32 count = 0; in DrawRectangle() local
264count += this->BuildLine(pos, math::VEC2(pos.x + size.x, pos.y), m_LineWidth, &m_PositionSt… in DrawRectangle()
265count += this->BuildLine(math::VEC2(pos.x + size.x, pos.y), pos + size, m_LineWidth, &m_PositionSt… in DrawRectangle()
266count += this->BuildLine(pos + size, math::VEC2(pos.x, pos.y + size.y), m_LineWidth, &m_PositionSt… in DrawRectangle()
267count += this->BuildLine(math::VEC2(pos.x, pos.y + size.y), pos, m_LineWidth, &m_PositionSt… in DrawRectangle()
269 NW_ASSERT( count <= VERTEX_STREAM_SIZE ); in DrawRectangle()
273 glDrawArrays ( GL_TRIANGLES, 0, count); in DrawRectangle()
284 s32 count = this->BuildRectangle(pos, size, &m_PositionStream[0]); in FillRectangle() local
289 glDrawArrays ( GL_TRIANGLES, 0, count); in FillRectangle()
300 s32 count = this->BuildTriangle(pt1, pt2, pt3, &m_PositionStream[0]); in FillTriangle() local
304 glDrawArrays ( GL_TRIANGLES, 0, count); in FillTriangle()
346 s32 count = 0; in BuildRectangle() local
348 count += this->BuildTriangle( pt1, pt2, pt3, &pVecArray[count] ); in BuildRectangle()
349 count += this->BuildTriangle( pt1, pt3, pt4, &pVecArray[count] ); in BuildRectangle()
351 return count; in BuildRectangle()
359 s32 count = 0; in BuildRectangle() local
361 count += this->BuildRectangle( in BuildRectangle()
368 return count; in BuildRectangle()
384 s32 count = 0; in BuildLine() local
386count += this->BuildRectangle( pt1 - ortho / 2, pt1 + ortho / 2, pt2 + ortho / 2, pt2 - ortho / 2,… in BuildLine()
388 return count; in BuildLine()