Mercurial > octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
22191:8971508e21c8 | 22192:20b225a3ebf8 |
---|---|
1303 s.doc = "Position of the light source."; | 1303 s.doc = "Position of the light source."; |
1304 | 1304 |
1305 case "style" | 1305 case "style" |
1306 s.doc = "This string defines whether the light emanates from a \ | 1306 s.doc = "This string defines whether the light emanates from a \ |
1307 light source at infinite distance (@qcode{\"infinite\"}) or from a local \ | 1307 light source at infinite distance (@qcode{\"infinite\"}) or from a local \ |
1308 point source (@qcode{\"local\"}). Only the default value @qcode{\"infinite\"} \ | 1308 point source (@qcode{\"local\"})."; |
1309 is supported."; | |
1310 | 1309 |
1311 endswitch | 1310 endswitch |
1312 | 1311 |
1313 ## uimenu properties | 1312 ## uimenu properties |
1314 elseif (strcmp (objname, "uimenu")) | 1313 elseif (strcmp (objname, "uimenu")) |