()
| 78009 | } |
| 78010 | ]); |
| 78011 | function Geometry1() { |
| 78012 | var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 78013 | (0, _classCallCheckDefault.default)(this, Geometry1); |
| 78014 | var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("geometry") : _props$id, _props$drawMode = props.drawMode, drawMode = _props$drawMode === void 0 ? DRAW_MODE.TRIANGLES : _props$drawMode, _props$attributes = props.attributes, attributes = _props$attributes === void 0 ? {} : _props$attributes, _props$indices = props.indices, indices = _props$indices === void 0 ? null : _props$indices, _props$vertexCount = props.vertexCount, vertexCount = _props$vertexCount === void 0 ? null : _props$vertexCount; |
| 78015 | this.id = id; |
| 78016 | this.drawMode = drawMode | 0; |
| 78017 | this.attributes = {}; |
| 78018 | this.userData = {}; |
| 78019 | this._setAttributes(attributes, indices); |
| 78020 | this.vertexCount = vertexCount || this._calculateVertexCount(this.attributes, this.indices); |
| 78021 | } |
| 78022 | (0, _createClassDefault.default)(Geometry1, [ |
| 78023 | { |
| 78024 | key: "getVertexCount", |
nothing calls this directly
no outgoing calls
no test coverage detected