Normal:

Path: Common/Graphics

% Compute a normal from a set of vertices using the Newell method.
--------------------------------------------------------------------------
   Form:
   n = Normal( v )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v             (3,:)   Polygon vertices

   -------
   Outputs
   -------
   n             (3,1)   Normal

--------------------------------------------------------------------------
   References:	Hill, F. S. Jr., Computer Graphics, MacMillan, 1990,
               p. 258.
--------------------------------------------------------------------------

Back to the Common Module page