From 328dddf16e5c33c97f456b68eef2d5597d125b14 Mon Sep 17 00:00:00 2001 From: Dave Pagurek Date: Tue, 11 Jun 2024 21:21:25 -0400 Subject: [PATCH] Fix more s in reference --- src/webgl/interaction.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/webgl/interaction.js b/src/webgl/interaction.js index 6245becfce..5a8baed1a1 100644 --- a/src/webgl/interaction.js +++ b/src/webgl/interaction.js @@ -16,7 +16,7 @@ import * as constants from '../core/constants'; * `orbitControl()` within the draw() function allows * the user to change the camera’s position: * - * + * ```js * function draw() { * background(200); * @@ -25,7 +25,7 @@ import * as constants from '../core/constants'; * * // Rest of sketch. * } - * + * ``` * * Left-clicking and dragging or swipe motion will rotate the camera position * about the center of the sketch. Right-clicking and dragging or multi-swipe @@ -47,7 +47,7 @@ import * as constants from '../core/constants'; * changing the behaviors set with `options`. The object can have the * following properties: * - * + * ```js * let options = { * // Setting this to false makes mobile interactions smoother by * // preventing accidental interactions with the page while orbiting. @@ -61,7 +61,7 @@ import * as constants from '../core/constants'; * }; * * orbitControl(1, 1, 1, options); - * + * ``` * * @method orbitControl * @for p5