Replace google closure syntax = with brackets around name
This commit is contained in:
@@ -35,7 +35,7 @@ export const BufferUsage = {
|
||||
class WebGLArrayBuffer {
|
||||
/**
|
||||
* @param {number} type Buffer type, either ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER.
|
||||
* @param {number=} opt_usage Intended usage, either `STATIC_DRAW`, `STREAM_DRAW` or `DYNAMIC_DRAW`.
|
||||
* @param {number} [opt_usage] Intended usage, either `STATIC_DRAW`, `STREAM_DRAW` or `DYNAMIC_DRAW`.
|
||||
* Default is `DYNAMIC_DRAW`.
|
||||
*/
|
||||
constructor(type, opt_usage) {
|
||||
|
||||
@@ -105,7 +105,7 @@ export const AttributeType = {
|
||||
/**
|
||||
* @typedef {Object} UniformInternalDescription
|
||||
* @property {string} name Name
|
||||
* @property {UniformValue=} value Value
|
||||
* @property {UniformValue} [value] Value
|
||||
* @property {WebGLTexture} [texture] Texture
|
||||
* @private
|
||||
*/
|
||||
@@ -238,7 +238,7 @@ export const AttributeType = {
|
||||
*/
|
||||
class WebGLHelper extends Disposable {
|
||||
/**
|
||||
* @param {Options=} opt_options Options.
|
||||
* @param {Options} [opt_options] Options.
|
||||
*/
|
||||
constructor(opt_options) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user