Mercurial > octave
changeset 25426:a17d388f3588
Update doc string for light.
* light.m: Remove sentence that normals have to be set manually for patch
objects.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 04 Jun 2018 22:19:01 +0200 |
parents | 107920dd7715 |
children | c7e67fcb8630 |
files | scripts/plot/draw/light.m |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/light.m Sun Jun 03 21:43:15 2018 +0200 +++ b/scripts/plot/draw/light.m Mon Jun 04 22:19:01 2018 +0200 @@ -1,4 +1,4 @@ -## Copyright (C) 2016-2018 Markus Muetzel +## Copyright (C) 2016-2018 Markus Mützel ## ## This file is part of Octave. ## @@ -26,13 +26,12 @@ ## When a light object is present in an axes object, and the properties ## @qcode{"EdgeLighting"} or @qcode{"FaceLighting"} of a @code{patch} or ## @code{surface} object are set to a value other than @qcode{"none"}, these -## objects are drawn with light and shadow effects. Supported values for -## Lighting properties are @qcode{"none"} (no lighting effects), @qcode{"flat"} -## (faceted look of the objects), and @qcode{"gouraud"} (linear interpolation -## of the lighting effects between the vertices). For @code{patch} objects, -## the normals must be set manually (property @qcode{"VertexNormals"}). +## objects are drawn with lighting effects. Supported values for Lighting +## properties are @qcode{"none"} (no lighting effects), @qcode{"flat"} (faceted +## look of the objects), and @qcode{"gouraud"} (linear interpolation of the +## lighting effects between the vertices). ## -## Up to eight light objects are supported per axes. +## Up to eight light objects are supported per axes. (Implementation dependent) ## ## Lighting is only supported for OpenGL graphic toolkits (i.e., @qcode{"fltk"} ## and @qcode{"qt"}).