Skip to content

Commit 91bfa91

Browse files
author
nitrocaster
committed
Rename light::export -> light::Export.
1 parent ae1c952 commit 91bfa91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Layers/xrRender/Light_DB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void CLight_DB::add_light (light* L)
190190
L->frame_render = Device.dwFrame ;
191191
if (RImplementation.o.noshadows) L->flags.bShadow = FALSE;
192192
if (L->flags.bStatic && !ps_r2_ls_flags.test(R2FLAG_R1LIGHTS)) return;
193-
L->export (package);
193+
L->Export (package);
194194
}
195195
#endif // (RENDER==R_R2) || (RENDER==R_R3) || (RENDER==R_R4)
196196

src/Layers/xrRender/light.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void light::xform_calc ()
287287
static Fvector cmNorm[6] = {{0.f,1.f,0.f}, {0.f,1.f,0.f}, {0.f,0.f,-1.f},{0.f,0.f,1.f}, {0.f,1.f,0.f}, {0.f,1.f,0.f}};
288288
static Fvector cmDir[6] = {{1.f,0.f,0.f}, {-1.f,0.f,0.f},{0.f,1.f,0.f}, {0.f,-1.f,0.f},{0.f,0.f,1.f}, {0.f,0.f,-1.f}};
289289

290-
void light::export (light_Package& package)
290+
void light::Export (light_Package& package)
291291
{
292292
if (flags.bShadow) {
293293
switch (flags.type) {

src/Layers/xrRender/light.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class light : public IRender_Light, public ISpatial
133133
void xform_calc ();
134134
void vis_prepare ();
135135
void vis_update ();
136-
void export (light_Package& dest);
136+
void Export (light_Package& dest);
137137
void set_attenuation_params (float a0, float a1, float a2, float fo);
138138
#endif // (RENDER==R_R2) || (RENDER==R_R3) || (RENDER==R_R4)
139139

0 commit comments

Comments
 (0)