Skip to content

missing caracter in https://p5js.org/reference/p5.Vector/mult/ #635

Open
@rbottura

Description

@rbottura

Most appropriate sections of the p5.js website?

Tutorials

What is your operating system?

Windows

Web browser and version

chrome 130.0.6723.117 (Official Build) (64-bit) (cohort: Stable)

Actual Behavior

missing a simple number 4
here in red rectangle :
vector_mult_typo
but it is visible in the js code here :
image
so maybe a parsing issue ?

Expected Behavior

If only one value is provided, as in v.mult(2), then all the components will be multiplied by 2. If a value isn't provided for a component, it won't change. For example, v.mult(4, 5) multiplies v.x by 4, v.y by 5, and v.z by 1. Calling mult() with no arguments, as in v.mult(), has no effect.

Steps to reproduce

see page https://p5js.org/reference/p5.Vector/mult/

If only one value is provided, as in v.mult(2), then all the components will be multiplied by 2. If a value isn't provided for a component, it won't change. For example, v.mult(4, 5) multiplies v.x by, v.y by 5, and v.z by 1. Calling mult() with no arguments, as in v.mult(), has no effect.

Would you like to work on the issue?

I wouldn't know how to fix it ..

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions