Skip to content
Snippets Groups Projects
Commit c93d0476 authored by slevy's avatar slevy
Browse files

Accept command-line arguments for starting-view, rotation axis, fixed point. All have defaults.

parent 545ba382
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,9 @@ require 'tfm.pl';
$fovy = 71; # Y-axis field of view (included in .wf file)
$start = "0 0 0 0.703464 -90.24 -29.3133"; # starting "jump" view
$axis = "0 0 1"; # rotation axis
$center = "0 0 0"; # fixed point of rotation
$start = $ARGV[0] || "0 0 0 0.703464 -90.24 -29.3133"; # starting "jump" view
$axis = $ARGV[1] || "0 0 1"; # rotation axis
$center = $ARGV[2] || "0 0 0"; # fixed point of rotation
$angle = 360; # rotate through this total angle
$time = 25; # seconds duration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment