Mercurial > hg > octave-lyh
diff scripts/plot/specular.m @ 10793:be55736a0783
Grammarcheck the documentation from m-files.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 18 Jul 2010 20:35:16 -0700 |
parents | d1978e7364ad |
children | c776f063fefe |
line wrap: on
line diff
--- a/scripts/plot/specular.m +++ b/scripts/plot/specular.m @@ -17,13 +17,16 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {} specular (@var{sx}, @var{sy}, @var{sz}, @var{l}, @var{v}) +## @deftypefn {Function File} {} specular (@var{sx}, @var{sy}, @var{sz}, @var{l}, @var{v}) ## @deftypefnx {Function File} {} specular (@var{sx}, @var{sy}, @var{sz}, @var{l}, @var{v}, @var{se}) ## Calculate specular reflection strength of a surface defined by the normal ## vector elements @var{sx}, @var{sy}, @var{sz} using Phong's approximation. -## The light and view vectors can be specified using parameter @var{L} and @var{V} respectively. -## Both can be given as 2-element vectors [azimuth, elevation] in degrees or as 3-element -## vector [x, y, z]. An optional 6th argument describes the specular exponent (spread) @var{se}. +## The light and view vectors can be specified using parameter @var{L} and +## @var{V} respectively. +## Both can be given as 2-element vectors [azimuth, elevation] in degrees or as +## 3-element +## vector [x, y, z]. An optional 6th argument describes the specular exponent +## (spread) @var{se}. ## @seealso{surfl, diffuse} ## @end deftypefn