in reply to The problem of getting the unit vector "Undefined subroutine &main::Normalize"
A couple of minor coding related comments:
for (my $frame = 201; $frame <= 300; $frame++)is better written:
for my $frame (201 .. 300)Perl treats $a and $b as somewhat special variables (see sort) so it's usually best to avoid them unless the sort context version of the variables is what you really mean.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The problem of getting the unit vector "Undefined subroutine &main::Normalize"
by windcrazy86 (Novice) on Aug 30, 2017 at 23:12 UTC |