diff options
author | dos-reis <gdr@axiomatics.org> | 2009-08-05 09:45:13 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-08-05 09:45:13 +0000 |
commit | b62e2878ca1013394d8cb3b851c04553d12be8a3 (patch) | |
tree | 9318cef5dbc2588b611d8e0971d8a995214e9fc9 /src | |
parent | bff72ecab3900add29892dc64d98936c0424a609 (diff) | |
download | open-axiom-b62e2878ca1013394d8cb3b851c04553d12be8a3.tar.gz |
* graph/view3D/stuff3d.c (norm_dist): Set third coordinate to zero.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/graph/view3D/stuff3d.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8051a423..73014cda 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-08-05 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * graph/view3D/stuff3d.c (norm_dist): Set third coordinate to zero. + 2009-07-26 Gabriel Dos Reis <gdr@cs.tamu.edu> * interp/c-doc.boot (checkDecorate): Tidy. diff --git a/src/graph/view3D/stuff3d.c b/src/graph/view3D/stuff3d.c index 8858be42..d68b0785 100644 --- a/src/graph/view3D/stuff3d.c +++ b/src/graph/view3D/stuff3d.c @@ -125,6 +125,7 @@ norm_dist(void) rad = -2.0*log(ss)/ss; pert.x = v1 * sqrt(rad); pert.y = v2 * sqrt(rad); + pert.z = 0; /* Don't leave uninitialized. */ return(pert); } |