comparison mm7_5.cpp @ 724:737d7fec67f0

Слияние
author Ritor1
date Thu, 21 Mar 2013 16:09:59 +0600
parents 70c5a87a1307 af08fc9e29c8
children 9d13d2ec35a6
comparison
equal deleted inserted replaced
723:256211e8243a 724:737d7fec67f0
9828 unsigned int i; // ebx@3 9828 unsigned int i; // ebx@3
9829 9829
9830 v3 = pXYZW; 9830 v3 = pXYZW;
9831 v4 = uColor; 9831 v4 = uColor;
9832 pRenderer->BeginScene(); 9832 pRenderer->BeginScene();
9833 pRenderer->Clip_v2(0, 0, 639u, 479u); 9833 pRenderer->SetRasterClipRect(0, 0, 639u, 479u);
9834 if ( bSolidFill ) 9834 if ( bSolidFill )
9835 { 9835 {
9836 for ( i = v3->y; (signed int)i <= v3->w; ++i ) 9836 for ( i = v3->y; (signed int)i <= v3->w; ++i )
9837 pRenderer->Line2D(v3->x, i, v3->z, i, v4); 9837 pRenderer->RasterLine2D(v3->x, i, v3->z, i, v4);
9838 } 9838 }
9839 else 9839 else
9840 { 9840 {
9841 pRenderer->Line2D(v3->x, v3->y, v3->z, v3->y, v4); 9841 pRenderer->RasterLine2D(v3->x, v3->y, v3->z, v3->y, v4);
9842 pRenderer->Line2D(v3->z, v3->y, v3->z, v3->w, v4); 9842 pRenderer->RasterLine2D(v3->z, v3->y, v3->z, v3->w, v4);
9843 pRenderer->Line2D(v3->z, v3->w, v3->x, v3->w, v4); 9843 pRenderer->RasterLine2D(v3->z, v3->w, v3->x, v3->w, v4);
9844 pRenderer->Line2D(v3->x, v3->w, v3->x, v3->y, v4); 9844 pRenderer->RasterLine2D(v3->x, v3->w, v3->x, v3->y, v4);
9845 } 9845 }
9846 pRenderer->EndScene(); 9846 pRenderer->EndScene();
9847 } 9847 }
9848 9848
9849 9849