summaryrefslogtreecommitdiff
path: root/src/rend2/tr_scene.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_scene.c')
-rw-r--r--src/rend2/tr_scene.c6
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