Extracted from Pike v7.6 release 61 at 2005-12-30.
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.