Skip to content

Commit 8803762

Browse files
joye-ramonexrSimpodin
authored andcommitted
мусор
1 parent a88326d commit 8803762

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

ogsr_engine/Layers/xrRenderPC_R4/r4.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ class CGlow : public IRender_Glow
3434
virtual void set_color(float r, float g, float b) {}
3535
};
3636

37-
bool CRender::is_sun()
38-
{
39-
if (o.sunstatic)
40-
return FALSE;
41-
Fcolor sun_color = ((light*)Lights.sun_adapted._get())->color;
42-
return (ps_r2_ls_flags.test(R2FLAG_SUN) && (u_diffuse2s(sun_color.r, sun_color.g, sun_color.b) > EPS));
43-
}
44-
4537
float r_dtex_range = 50.f;
4638
//////////////////////////////////////////////////////////////////////////
4739
ShaderElement* CRender::rimp_select_sh_dynamic(dxRender_Visual* pVisual, float cdist_sq)

ogsr_engine/Layers/xrRenderPC_R4/r4.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ class CRender : public R_dsgraph_structure
110110
} stats;
111111

112112
public:
113-
bool is_sun();
114113
// Sector detection and visibility
115114
CSector* pLastSector;
116115
Fvector vLastCameraPos;

0 commit comments

Comments
 (0)