Skip to content

Commit 1d7174f

Browse files
fix: Typo
1 parent d051256 commit 1d7174f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -435,21 +435,21 @@ To strongly type a function you may use options. Options take an optional hash
435435
`paramTypes`: optional, defaults to float for each param, a hash of param names with values of the return types
436436

437437
Types: that may be used for `returnType` or for each property of `paramTypes`:
438-
'Array'
439-
'Array(2)'
440-
'Array(3)'
441-
'Array(4)'
442-
'HTMLImage'
443-
'HTMLImageArray'
444-
'Number'
445-
'NumberTexture'
446-
'ArrayTexture(4)'
438+
* 'Array'
439+
* 'Array(2)'
440+
* 'Array(3)'
441+
* 'Array(4)'
442+
* 'HTMLImage'
443+
* 'HTMLImageArray'
444+
* 'Number'
445+
* 'NumberTexture'
446+
* 'ArrayTexture(4)'
447447

448448
Example:
449449
```js
450450
gpu.addFunction(function mySuperFunction(a, b) {
451451
return [a - b[1], b[0] - a];
452-
}, { paramTypes: { a: 'Integer', b: 'Array(2)'}, returnType: 'Array(2)' });
452+
}, { paramTypes: { a: 'Number', b: 'Array(2)'}, returnType: 'Array(2)' });
453453
```
454454

455455

0 commit comments

Comments
 (0)