From 9efdff180d08711142a6a00b9bd27371d4105cfc Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Thu, 13 Dec 2012 19:18:24 +0400 Subject: Add R_ prefix to refresh local function. --- src/refresh/sw/raster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/refresh/sw/raster.c') diff --git a/src/refresh/sw/raster.c b/src/refresh/sw/raster.c index e93622c..a50e877 100644 --- a/src/refresh/sw/raster.c +++ b/src/refresh/sw/raster.c @@ -83,7 +83,7 @@ void R_EmitEdge(mvertex_t *pv0, mvertex_t *pv1) // transform and project VectorSubtract(world, modelorg, local); - TransformVector(local, transformed); + R_TransformVector(local, transformed); if (transformed[2] < NEAR_CLIP) transformed[2] = NEAR_CLIP; @@ -112,7 +112,7 @@ void R_EmitEdge(mvertex_t *pv0, mvertex_t *pv1) // transform and project VectorSubtract(world, modelorg, local); - TransformVector(local, transformed); + R_TransformVector(local, transformed); if (transformed[2] < NEAR_CLIP) transformed[2] = NEAR_CLIP; @@ -462,7 +462,7 @@ void R_RenderFace(mface_t *fa, int clipflags) pplane = fa->plane; // FIXME: cache this? - TransformVector(pplane->normal, p_normal); + R_TransformVector(pplane->normal, p_normal); // FIXME: cache this? distinv = 1.0 / (pplane->dist - DotProduct(modelorg, pplane->normal)); @@ -576,7 +576,7 @@ void R_RenderBmodelFace(bedge_t *pedges, mface_t *psurf) pplane = psurf->plane; // FIXME: cache this? - TransformVector(pplane->normal, p_normal); + R_TransformVector(pplane->normal, p_normal); // FIXME: cache this? distinv = 1.0 / (pplane->dist - DotProduct(modelorg, pplane->normal)); -- cgit v1.2.3