Mercurial > octave
diff doc/interpreter/genpropdoc.m @ 22192:20b225a3ebf8
Update to light (patch #8943)
* gl-render.h, gl-render.cc (get_maxlights): New static function.
(opengl_renderer::max_lights): New data member.
(opengl_renderer::opengl_renderer): Use get_maxlights to initialize
max_lights data member.
(opengl_renderer::draw_all_lights): New function. Support local
light sources.
(opengl_renderer::draw_axes_children): Call draw_all_lights instead
of doing the work here.
(opengl_renderer::draw_surface): Remove warning for "phong".
* scripts/plot/draw/light.m: Update docstring. Add and update demos.
* doc/interpreter/genpropdoc.m: Update docstring.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 23 Jul 2016 17:45:32 +0200 |
parents | d6370831d37f |
children | bac0d6f07a3e |
line wrap: on
line diff
--- a/doc/interpreter/genpropdoc.m Thu Jul 28 16:38:37 2016 -0400 +++ b/doc/interpreter/genpropdoc.m Sat Jul 23 17:45:32 2016 +0200 @@ -1305,8 +1305,7 @@ case "style" s.doc = "This string defines whether the light emanates from a \ light source at infinite distance (@qcode{\"infinite\"}) or from a local \ -point source (@qcode{\"local\"}). Only the default value @qcode{\"infinite\"} \ -is supported."; +point source (@qcode{\"local\"})."; endswitch