summaryrefslogtreecommitdiff
path: root/ground.c
diff options
context:
space:
mode:
Diffstat (limited to 'ground.c')
-rw-r--r--ground.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ground.c b/ground.c
index 558452b..382d0dd 100644
--- a/ground.c
+++ b/ground.c
@@ -62,11 +62,11 @@ install_ground_transform(void)
*/
memcpy(&temp, &gluIdentityMatrix, sizeof(gluIdentityMatrix));
temp.col[0].values[0] = (1.0 - 0.0) / 2.0;
- temp.col[0].values[3] = temp.col[0].values[0] + 0.0;
+ temp.col[3].values[0] = temp.col[0].values[0] + 0.0;
temp.col[1].values[1] = (1.0 - 0.0) / 2.0;
- temp.col[1].values[3] = temp.col[1].values[1] + 0.0;
+ temp.col[3].values[1] = temp.col[1].values[1] + 0.0;
temp.col[2].values[2] = (1.0 - 0.0) / 2.0;
- temp.col[2].values[3] = (1.0 - 0.0) / 2.0;
+ temp.col[3].values[2] = (1.0 - 0.0) / 2.0;
gluMult4m_4m(&world_to_shadow_texcoords, &temp, &world_to_light_ndc);