Skip to content

Commit

Permalink
Fix more <code>s in reference
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek committed Jun 12, 2024
1 parent e6053b5 commit 328dddf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/webgl/interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import * as constants from '../core/constants';
* `orbitControl()` within the <a href="#/p5/draw">draw()</a> function allows
* the user to change the camera’s position:
*
* <code>
* ```js
* function draw() {
* background(200);
*
Expand All @@ -25,7 +25,7 @@ import * as constants from '../core/constants';
*
* // Rest of sketch.
* }
* </code>
* ```
*
* 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
Expand All @@ -47,7 +47,7 @@ import * as constants from '../core/constants';
* changing the behaviors set with `options`. The object can have the
* following properties:
*
* <code>
* ```js
* let options = {
* // Setting this to false makes mobile interactions smoother by
* // preventing accidental interactions with the page while orbiting.
Expand All @@ -61,7 +61,7 @@ import * as constants from '../core/constants';
* };
*
* orbitControl(1, 1, 1, options);
* </code>
* ```
*
* @method orbitControl
* @for p5
Expand Down

0 comments on commit 328dddf

Please sign in to comment.