summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2ec73b8)
Defaults are needed in case the interactive mode is started with no
correction defined yet.
corrections[i].monitor_name = (char *)malloc(namelen+1);
strcpy(corrections[i].monitor_name, argv[1]);
corrections[i+1].monitor_name = NULL;
corrections[i].monitor_name = (char *)malloc(namelen+1);
strcpy(corrections[i].monitor_name, argv[1]);
corrections[i+1].monitor_name = NULL;
+ corrections[i].keystone_vertical = 0.0f;
+ corrections[i].cylinder_depth = 0.0f;
+ corrections[i].vertical_center = 0.5f;
+ corrections[i].perspective = 1.0f;