summaryrefslogtreecommitdiff
path: root/src/rend2/tr_main.c
diff options
context:
space:
mode:
authorJames Canete <use.less01@gmail.com>2012-10-30 03:00:46 +0000
committerTim Angus <tim@ngus.net>2013-01-12 21:23:54 +0000
commit9082550b670555cf8b4725c8f4f2cba09f5aa449 (patch)
treea0e82b3095f0bfcc5d1a684ac3a6c23c351fcef6 /src/rend2/tr_main.c
parent3d7f20cee1d1470b3e5981507f4d3fbcc0295283 (diff)
Fix some non-ASCII characters. Patch originally by /dev/humancontroller, modified by me.
Diffstat (limited to 'src/rend2/tr_main.c')
-rw-r--r--src/rend2/tr_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rend2/tr_main.c b/src/rend2/tr_main.c
index c0ad54e5..ea842ff3 100644
--- a/src/rend2/tr_main.c
+++ b/src/rend2/tr_main.c
@@ -368,10 +368,10 @@ void R_CalcTBN2(vec3_t tangent, vec3_t bitangent, vec3_t normal,
VectorSubtract(v3, v1, v3v1);
// The equation presented in the article states that:
- // c2c1_T = V2.texcoord.x – V1.texcoord.x
- // c2c1_B = V2.texcoord.y – V1.texcoord.y
- // c3c1_T = V3.texcoord.x – V1.texcoord.x
- // c3c1_B = V3.texcoord.y – V1.texcoord.y
+ // c2c1_T = V2.texcoord.x - V1.texcoord.x
+ // c2c1_B = V2.texcoord.y - V1.texcoord.y
+ // c3c1_T = V3.texcoord.x - V1.texcoord.x
+ // c3c1_B = V3.texcoord.y - V1.texcoord.y
// Calculate c2c1_T and c2c1_B
c2c1_T = t2[0] - t1[0];
@@ -1227,7 +1227,7 @@ void R_SetupProjectionZ(viewParms_t *dest)
plane2[2] = -DotProduct (dest->or.axis[0], plane);
plane2[3] = DotProduct (plane, dest->or.origin) - plane[3];
- // Lengyel, Eric. “Modifying the Projection Matrix to Perform Oblique Near-plane Clipping”.
+ // Lengyel, Eric. "Modifying the Projection Matrix to Perform Oblique Near-plane Clipping".
// Terathon Software 3D Graphics Library, 2004. http://www.terathon.com/code/oblique.html
q[0] = (SGN(plane2[0]) + dest->projectionMatrix[8]) / dest->projectionMatrix[0];
q[1] = (SGN(plane2[1]) + dest->projectionMatrix[9]) / dest->projectionMatrix[5];