Skip to content

Commit 6a04c8b

Browse files
committed
getTexture: omit type expressions entirely
don't write {*}
1 parent 082e85a commit 6a04c8b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/strands/p5.strands.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,14 +709,14 @@ if (typeof p5 !== "undefined") {
709709
* @method getTexture
710710
* @beta
711711
*
712-
* @param {*} texture The texture to sample from.
712+
* @param texture The texture to sample from.
713713
* (e.g. a p5.Image, p5.Graphics, or p5.Framebuffer).
714714
*
715-
* @param {*} coords The 2D coordinates to sample from.
715+
* @param coords The 2D coordinates to sample from.
716716
* This should be between [0,0] (the top-left) and [1,1] (the bottom-right)
717717
* of the texture. It should be compatible with a vec2.
718718
*
719-
* @returns {*} The color of the given texture at the given coordinates. This
719+
* @returns The color of the given texture at the given coordinates. This
720720
* will behave as a vec4 holding components r, g, b, and a (alpha), with each component being in the range 0.0 to 1.0.
721721
*
722722
* @example

0 commit comments

Comments
 (0)