|
|
Yes, the weighted average of the three vertex normals. The weight is the
inverse distance of the point from the vertex (ie. when the point is exactly
at the vertex, the weight for that normal is 1 and for the other two it's 0;
when it's exactly in the middle of the triangle the weight for all normals
will be 1/3).
--
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
|
|