summaryrefslogtreecommitdiff
path: root/src/refresh/sw/misc.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/misc.c
parent017874d389bbc5eab57029f0ad520e48fda0ad94 (diff)
Add R_ prefix to refresh local function.
Diffstat (limited to 'src/refresh/sw/misc.c')
-rw-r--r--src/refresh/sw/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/refresh/sw/misc.c b/src/refresh/sw/misc.c
index 45a5d3a..62609a3 100644
--- a/src/refresh/sw/misc.c
+++ b/src/refresh/sw/misc.c
@@ -195,10 +195,10 @@ void R_TransformFrustum(void)
/*
================
-TransformVector
+R_TransformVector
================
*/
-void TransformVector(vec3_t in, vec3_t out)
+void R_TransformVector(vec3_t in, vec3_t out)
{
out[0] = DotProduct(in, vright);
out[1] = DotProduct(in, vup);
@@ -217,7 +217,7 @@ void R_TransformPlane(cplane_t *p, float *normal, float *dist)
d = DotProduct(r_origin, p->normal);
*dist = p->dist - d;
// TODO: when we have rotating entities, this will need to use the view matrix
- TransformVector(p->normal, normal);
+ R_TransformVector(p->normal, normal);
}