Mercurial > hg > octave-nkf
diff scripts/plot/specular.m @ 11469:c776f063fefe
Overhaul m-script files to use common variable name between code and documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 12:41:21 -0800 |
parents | be55736a0783 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/plot/specular.m +++ b/scripts/plot/specular.m @@ -17,12 +17,12 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @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}) +## @deftypefn {Function File} {} specular (@var{sx}, @var{sy}, @var{sz}, @var{lv}, @var{vv}) +## @deftypefnx {Function File} {} specular (@var{sx}, @var{sy}, @var{sz}, @var{lv}, @var{vv}, @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. +## The light and view vectors can be specified using parameter @var{lv} and +## @var{vv} 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