Fix @type annotations so JSDoc doesn't complain
This commit is contained in:
@@ -191,12 +191,12 @@ class RenderWebGL extends EventEmitter {
|
|||||||
/** @type {Array.<snapshotCallback>} */
|
/** @type {Array.<snapshotCallback>} */
|
||||||
this._snapshotCallbacks = [];
|
this._snapshotCallbacks = [];
|
||||||
|
|
||||||
/** @type {Array<number>}
|
/** @type {Array<number>} */
|
||||||
* Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor3b */
|
// Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor3b
|
||||||
this._backgroundColor4f = [0, 0, 0, 1];
|
this._backgroundColor4f = [0, 0, 0, 1];
|
||||||
|
|
||||||
/** @type {Uint8ClampedArray}
|
/** @type {Uint8ClampedArray} */
|
||||||
* Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor4f */
|
// Don't set this directly-- use setBackgroundColor so it stays in sync with _backgroundColor4f
|
||||||
this._backgroundColor3b = new Uint8ClampedArray(3);
|
this._backgroundColor3b = new Uint8ClampedArray(3);
|
||||||
|
|
||||||
this._createGeometry();
|
this._createGeometry();
|
||||||
|
|||||||
Reference in New Issue
Block a user