| 964 | } |
| 965 | |
| 966 | void BatchRenderer::batchPolygonByPoint( const Float& x, const Float& y ) { |
| 967 | if ( mNumVertex + 1 >= mVertexSize ) |
| 968 | return; |
| 969 | |
| 970 | setDrawMode( PRIMITIVE_POLYGON, mForceBlendMode ); |
| 971 | |
| 972 | mTVertex = &mVertex[mNumVertex]; |
| 973 | mTVertex->pos.x = x; |
| 974 | mTVertex->pos.y = y; |
| 975 | mTVertex->tex = mTexCoord[0]; |
| 976 | mTVertex->color = mVerColor[0]; |
| 977 | |
| 978 | addVertices( 1 ); |
| 979 | } |
| 980 | |
| 981 | void BatchRenderer::batchPolygonByPoint( const Vector2f& Vector ) { |
| 982 | batchPolygonByPoint( Vector.x, Vector.y ); |
no outgoing calls
no test coverage detected