diff --git a/src/webgl/light.js b/src/webgl/light.js index 483b9a53b7..1088c909e1 100644 --- a/src/webgl/light.js +++ b/src/webgl/light.js @@ -498,6 +498,11 @@ function light(p5, fn){ * sphere(30); * } * + * function doubleClicked() { + * isLit = !isLit; + * return false; + * } + * * @example * // Click and drag the mouse to view the scene from different angles. *