Home > freetb4matlab > plot > diffuse.m

diffuse

PURPOSE ^

% Calculate diffuse reflection strength of a surface defined by the normal

SYNOPSIS ^

function retval = diffuse (sx, sy, sz, lv)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} diffuse (@var{sx}, @var{sy}, @var{sz}, @var{l})
% Calculate diffuse reflection strength of a surface defined by the normal
% vector elements @var{sx}, @var{sy}, @var{sz}. 
% The light vector can be specified using parameter @var{L}.  It can be
% given as 2-element vector [azimuth, elevation] in degrees or as 3-element
% vector [lx, ly, lz]. 
% @seealso{specular, surfl}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003