Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GLUE
GLUE.SquareMesh

Method GLUE.SquareMesh()->set_lighting()


Method set_lighting

void set_lighting(int(0..1) do_lighting)

Description

Indicate whether or not lighting is used. If it is, the normals of each vertex will be calculated as well as the coordinates.