Commit 79c11ff3 authored by Johan Richard's avatar Johan Richard
Browse files

Initialise all pixel sizes in cleanlens

parent dd5f607f
......@@ -113,18 +113,19 @@ void r_cleanlens(FILE *IN, FILE *OUT)
sscanf(third, "%lf", &reel);
imFrame.pixelx = imFrame.pixely = reel;
cubeFrame.pixelx = cubeFrame.pixely = reel;
wFrame.pixelx = wFrame.pixely = reel;
fprintf(OUT, "\t%s\t%lf\n", second, imFrame.pixelx);
}
else if (!strcmp(second, "pixelx"))
{
sscanf(third, "%lf", &reel);
imFrame.pixelx=cubeFrame.pixelx=reel;
imFrame.pixelx=cubeFrame.pixelx=wFrame.pixelx=reel;
fprintf(OUT, "\t%s\t%lf\n", second, imFrame.pixelx);
}
else if (!strcmp(second, "pixely"))
{
sscanf(third, "%lf", &reel);
imFrame.pixely=cubeFrame.pixely=reel;
imFrame.pixely=cubeFrame.pixely=wFrame.pixely=reel;
fprintf(OUT, "\t%s\t%lf\n", second, imFrame.pixely);
}
else if (!strcmp(second, "xmin"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment