File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 392
392
[]
393
393
]
394
394
},
395
- "calculateOffset" : {
396
- "overloads" : [
397
- []
398
- ]
399
- },
400
395
"createCanvas" : {
401
396
"overloads" : [
402
397
[
3236
3231
]
3237
3232
}
3238
3233
},
3239
- "p5.Renderer" : {
3240
- "resize" : {
3241
- "overloads" : [
3242
- []
3243
- ]
3244
- }
3245
- },
3246
3234
"p5.Element" : {
3247
3235
"remove" : {
3248
3236
"overloads" : [
Original file line number Diff line number Diff line change @@ -367,13 +367,15 @@ function renderer(p5, fn){
367
367
* @param {HTMLElement } elt DOM node that is wrapped
368
368
* @param {p5 } [pInst] pointer to p5 instance
369
369
* @param {Boolean } [isMainCanvas] whether we're using it as main canvas
370
+ * @private
370
371
*/
371
372
p5 . Renderer = Renderer ;
372
373
}
373
374
374
375
/**
375
376
* Helper fxn to measure ascent and descent.
376
377
* Adapted from http://stackoverflow.com/a/25355178
378
+ * @private
377
379
*/
378
380
function calculateOffset ( object ) {
379
381
let currentLeft = 0 ,
Original file line number Diff line number Diff line change @@ -964,7 +964,7 @@ function light(p5, fn){
964
964
* // Load an image and create a p5.Image object.
965
965
* img = await loadImage('assets/outdoor_spheremap.jpg');
966
966
*
967
- * createCanvas(100 ,100 , WEBGL);
967
+ * createCanvas(100, 100, WEBGL);
968
968
*
969
969
* describe('A sphere floating above a landscape. The surface of the sphere reflects the landscape. The full landscape is viewable in 3D as the user drags the mouse.');
970
970
* }
You can’t perform that action at this time.
0 commit comments