|
|
Remco de Korte <rem### [at] xs4allnl> wrote:
: Thanks for yor help anyway, it might still do the trick (I know how to
: calculate vcross, I'm not too sure about vnormalize for 3D-vectors...)
Normalizing a 3D-vector is exactly like normalizing a 2D-vector: Divide its
components by the length of the vector.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|