Extracted from Pike v7.6 release 13 at 2006-10-17.
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.