diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-02-04 20:33:58 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-02-16 21:54:28 +0000 |
commit | 5991530b912c629951c68a9b0767e356c00835e8 (patch) | |
tree | fe6274290418821e04102bb64582866b9d3411d0 /src/rend2/tr_scene.c | |
parent | 209b348ef47e10cfd0da854fc9bc77c460a66518 (diff) |
Merge Reaction renderer features, remove "#ifdef REACTION"s
Diffstat (limited to 'src/rend2/tr_scene.c')
-rw-r--r-- | src/rend2/tr_scene.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rend2/tr_scene.c b/src/rend2/tr_scene.c index c7a414f2..14c18339 100644 --- a/src/rend2/tr_scene.c +++ b/src/rend2/tr_scene.c @@ -202,10 +202,8 @@ RE_AddRefEntityToScene ===================== */ void RE_AddRefEntityToScene( const refEntity_t *ent ) { -#ifdef REACTION // JBravo: Mirrored models vec3_t cross; -#endif if ( !tr.registered ) { return; @@ -229,11 +227,9 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) { backEndData->entities[r_numentities].e = *ent; backEndData->entities[r_numentities].lightingCalculated = qfalse; -#ifdef REACTION // JBravo: Mirrored models CrossProduct(ent->axis[0], ent->axis[1], cross); backEndData->entities[r_numentities].mirrored = (DotProduct(ent->axis[2], cross) < 0.f); -#endif r_numentities++; } @@ -406,7 +402,6 @@ void RE_RenderScene( const refdef_t *fd ) { tr.refdef.toneMinAvgMaxLinear[2] = pow(2, tr.toneMinAvgMaxLevel[2]); } -//#ifdef REACTION // Makro - copy exta info if present if (fd->rdflags & RDF_EXTRA) { const refdefex_t* extra = (const refdefex_t*) (fd+1); @@ -424,7 +419,6 @@ void RE_RenderScene( const refdef_t *fd ) { { tr.refdef.blurFactor = 0.0f; } -//#endif // derived info |