* Resets the graphics buffer's transformations and lighting. * * By default, the main canvas resets certain transformation and lighting * values each time draw() executes. `p5.Graphics` * objects must reset these values manually by calling `myGraphics.reset()`.
()
| 230 | * } |
| 231 | */ |
| 232 | reset() { |
| 233 | this._renderer.resetMatrix(); |
| 234 | if (this._renderer.isP3D) { |
| 235 | this._renderer._update(); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | /** |
| 240 | * Removes the graphics buffer from the web page. |
no test coverage detected