Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more <code>s in reference #7092

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading