Definition at line 70 of file RotorDoDView.h. References OglGui::View::GetOGLVIEW3D(), and mObscure. Referenced by OnDrawView(). 00071 { 00072 if (mObscure <= 0.f) return; 00073 INT bInfo[3]; 00074 oglSys.StartBlend(bInfo); 00075 int alpha = mObscure * 255; 00076 ULONG col = RGBA2COLOR(64,64,64,alpha); 00077 SetSolidFillColor(col); 00078 OGLVIEW3D* v3D = GetOGLVIEW3D(); 00079 float x = -v3D->w/2+0.01; 00080 float y = -v3D->h/2+0.01; 00081 FillRectangle3D(x,y,0.01f,v3D->w-0.02,v3D->h-0.02); 00082 oglSys.EndBlend(bInfo); 00083 }
Here is the call graph for this function:
|