summaryrefslogtreecommitdiff
path: root/src/refresh/sw/poly.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/poly.c
parent017874d389bbc5eab57029f0ad520e48fda0ad94 (diff)
Add R_ prefix to refresh local function.
Diffstat (limited to 'src/refresh/sw/poly.c')
-rw-r--r--src/refresh/sw/poly.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/refresh/sw/poly.c b/src/refresh/sw/poly.c
index 620d091..860b59f 100644
--- a/src/refresh/sw/poly.c
+++ b/src/refresh/sw/poly.c
@@ -577,7 +577,7 @@ static void R_ClipAndDrawPoly(float alpha, int isturbulent, int textured)
for (i = 0; i < nump; i++) {
VectorSubtract(pv, r_origin, local);
- TransformVector(local, transformed);
+ R_TransformVector(local, transformed);
if (transformed[2] < NEAR_CLIP)
transformed[2] = NEAR_CLIP;
@@ -678,9 +678,9 @@ static void R_PolygonCalculateGradients(void)
vec3_t p_normal, p_saxis, p_taxis;
float distinv;
- TransformVector(r_polydesc.vpn, p_normal);
- TransformVector(r_polydesc.vright, p_saxis);
- TransformVector(r_polydesc.vup, p_taxis);
+ R_TransformVector(r_polydesc.vpn, p_normal);
+ R_TransformVector(r_polydesc.vright, p_saxis);
+ R_TransformVector(r_polydesc.vup, p_taxis);
distinv = 1.0 / (-(DotProduct(r_polydesc.viewer_position, r_polydesc.vpn)) + r_polydesc.dist);