File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
ogsr_engine/Layers/xrRenderPC_R4 Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,6 @@ class CGlow : public IRender_Glow
34
34
virtual void set_color (float r, float g, float b) {}
35
35
};
36
36
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
-
45
37
float r_dtex_range = 50 .f;
46
38
// ////////////////////////////////////////////////////////////////////////
47
39
ShaderElement* CRender::rimp_select_sh_dynamic (dxRender_Visual* pVisual, float cdist_sq)
Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ class CRender : public R_dsgraph_structure
110
110
} stats;
111
111
112
112
public:
113
- bool is_sun ();
114
113
// Sector detection and visibility
115
114
CSector* pLastSector;
116
115
Fvector vLastCameraPos;
You can’t perform that action at this time.
0 commit comments