aboutsummaryrefslogtreecommitdiff
path: root/src/test-path.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-08-31 09:45:12 -0500
committertlatorre <tlatorre@uchicago.edu>2018-08-31 09:45:12 -0500
commit56e663aa644c5a7c5ca620c3f688cdd7fbefdc7d (patch)
treeac5020196f9041066a0a795662c4c7b5c401ee75 /src/test-path.c
parent460e841fa7238fd7a55ec77d91a105cf014c0978 (diff)
downloadsddm-56e663aa644c5a7c5ca620c3f688cdd7fbefdc7d.tar.gz
sddm-56e663aa644c5a7c5ca620c3f688cdd7fbefdc7d.tar.bz2
sddm-56e663aa644c5a7c5ca620c3f688cdd7fbefdc7d.zip
add theta0 argument to path_eval in test-path.c
Diffstat (limited to 'src/test-path.c')
-rw-r--r--src/test-path.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test-path.c b/src/test-path.c
index fc46908..7b0a9cd 100644
--- a/src/test-path.c
+++ b/src/test-path.c
@@ -165,12 +165,11 @@ int main(int argc, char **argv)
for (i = 0; i < N; i++) {
fprintf(pipe,"%.10g %.10g\n", simvalue->pos[i*3], simvalue->pos[i*3+1]);
- path_eval(simvalue->p,i*range/9999.0,pos2,dir,&T,&t);
}
fprintf(pipe,"\n\n");
for (i = 0; i < N; i++) {
- path_eval(simvalue->p,i*range/(N-1),pos2,dir,&T,&t);
+ path_eval(simvalue->p,i*range/(N-1),pos2,dir,&T,&t,&theta0);
fprintf(pipe,"%.10g %.10g\n", pos2[0], pos2[1]);
}
fprintf(pipe,"\n\n");