Skip to content

Commit

Permalink
Rename light::export -> light::Export.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Nov 10, 2015
1 parent ae1c952 commit 91bfa91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/Light_DB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void CLight_DB::add_light (light* L)
L->frame_render = Device.dwFrame ;
if (RImplementation.o.noshadows) L->flags.bShadow = FALSE;
if (L->flags.bStatic && !ps_r2_ls_flags.test(R2FLAG_R1LIGHTS)) return;
L->export (package);
L->Export (package);
}
#endif // (RENDER==R_R2) || (RENDER==R_R3) || (RENDER==R_R4)

Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void light::xform_calc ()
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}};
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}};

void light::export (light_Package& package)
void light::Export (light_Package& package)
{
if (flags.bShadow) {
switch (flags.type) {
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/light.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class light : public IRender_Light, public ISpatial
void xform_calc ();
void vis_prepare ();
void vis_update ();
void export (light_Package& dest);
void Export (light_Package& dest);
void set_attenuation_params (float a0, float a1, float a2, float fo);
#endif // (RENDER==R_R2) || (RENDER==R_R3) || (RENDER==R_R4)

Expand Down

0 comments on commit 91bfa91

Please sign in to comment.