summaryrefslogtreecommitdiff
path: root/src/refresh/sw/misc.c
diff options
context:
space:
mode:
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);
}