Lines Matching refs:VertexCount
864 unsigned int VertexCount = 0; in UpdateLine() local
901 pVertices[VertexCount+0].sx = f2vt(XPos + fAOff); in UpdateLine()
902 pVertices[VertexCount+0].sy = f2vt(YPos + fYOffset); in UpdateLine()
903 pVertices[VertexCount+0].sz = f2vt(fZPos); in UpdateLine()
904 pVertices[VertexCount+0].rhw = f2vt(1.0f); in UpdateLine()
905 pVertices[VertexCount+0].tu = f2vt(m_pUVs[uiIdx].fUL); in UpdateLine()
906 pVertices[VertexCount+0].tv = f2vt(m_pUVs[uiIdx].fVT); in UpdateLine()
908 pVertices[VertexCount+1].sx = f2vt(XPos + fAOff + PVRTMakeWhole(m_pRects[uiIdx].nW * fScale)); in UpdateLine()
909 pVertices[VertexCount+1].sy = f2vt(YPos + fYOffset); in UpdateLine()
910 pVertices[VertexCount+1].sz = f2vt(fZPos); in UpdateLine()
911 pVertices[VertexCount+1].rhw = f2vt(1.0f); in UpdateLine()
912 pVertices[VertexCount+1].tu = f2vt(m_pUVs[uiIdx].fUR); in UpdateLine()
913 pVertices[VertexCount+1].tv = f2vt(m_pUVs[uiIdx].fVT); in UpdateLine()
915 pVertices[VertexCount+2].sx = f2vt(XPos + fAOff); in UpdateLine()
916 pVertices[VertexCount+2].sy = f2vt(YPos + fYOffset - PVRTMakeWhole(m_pRects[uiIdx].nH * fScale)); in UpdateLine()
917 pVertices[VertexCount+2].sz = f2vt(fZPos); in UpdateLine()
918 pVertices[VertexCount+2].rhw = f2vt(1.0f); in UpdateLine()
919 pVertices[VertexCount+2].tu = f2vt(m_pUVs[uiIdx].fUL); in UpdateLine()
920 pVertices[VertexCount+2].tv = f2vt(m_pUVs[uiIdx].fVB); in UpdateLine()
922 pVertices[VertexCount+3].sx = f2vt(XPos + fAOff + PVRTMakeWhole(m_pRects[uiIdx].nW * fScale)); in UpdateLine()
923 pVertices[VertexCount+3].sy = f2vt(YPos + fYOffset - PVRTMakeWhole(m_pRects[uiIdx].nH * fScale)); in UpdateLine()
924 pVertices[VertexCount+3].sz = f2vt(fZPos); in UpdateLine()
925 pVertices[VertexCount+3].rhw = f2vt(1.0f); in UpdateLine()
926 pVertices[VertexCount+3].tu = f2vt(m_pUVs[uiIdx].fUR); in UpdateLine()
927 pVertices[VertexCount+3].tv = f2vt(m_pUVs[uiIdx].fVB); in UpdateLine()
929 pVertices[VertexCount+0].color = Colour; in UpdateLine()
930 pVertices[VertexCount+1].color = Colour; in UpdateLine()
931 pVertices[VertexCount+2].color = Colour; in UpdateLine()
932 pVertices[VertexCount+3].color = Colour; in UpdateLine()
935 VertexCount += 4; in UpdateLine()
938 return VertexCount; in UpdateLine()