Yeap, you are right. I thought Normalize is a function in accelrys or perl before. However, it seems it's not for both. So I am using perl to write the sub Normalize to get unit vector from vector and it doesn't have relationship to materialsscript module anymore. Because I am new to perl, it takes me time to read related rules in perl and write it
In reply to Re^6: The problem of getting the unit vector "Undefined subroutine &main::Normalize"
by windcrazy86
in thread The problem of getting the unit vector "Undefined subroutine &main::Normalize"
by windcrazy86
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |