summaryrefslogtreecommitdiff
path: root/src/refresh/sw/raster.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-12-13 19:18:24 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-12-13 21:22:34 +0400
commit9efdff180d08711142a6a00b9bd27371d4105cfc (patch)
tree685f383c55872e31e09002a3f43d93643e96f2ac /src/refresh/sw/raster.c
parent017874d389bbc5eab57029f0ad520e48fda0ad94 (diff)
Add R_ prefix to refresh local function.
Diffstat (limited to 'src/refresh/sw/raster.c')
-rw-r--r--src/refresh/sw/raster.c8
1 files changed, 4 insertions, 4 deletions
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));