style: code style

This commit is contained in:
2912401452 2021-08-16 14:01:43 +08:00
parent 8bdd520c72
commit 2fe7778adc
12 changed files with 15 additions and 15 deletions

View File

@ -510,8 +510,8 @@ export default class BaseLayer<ChildLayerStyleOptions = {}> extends EventEmitter
}
/**
*
*/
*
*/
public renderLayers(): void {
this.rendering = true;

View File

@ -6,8 +6,8 @@ import {
IModelInitializationOptions,
IUniform,
} from '@antv/l7-core';
import { isPlainObject, isTypedArray } from 'lodash';
import regl from 'l7regl';
import { isPlainObject, isTypedArray } from 'lodash';
import {
blendEquationMap,
blendFuncMap,

View File

@ -1,6 +1,6 @@
import { gl } from '@antv/l7-core';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
import ReglAttribute from '../ReglAttribute';
import ReglBuffer from '../ReglBuffer';

View File

@ -1,6 +1,6 @@
import { gl } from '@antv/l7-core';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
import ReglAttribute from '../ReglAttribute';
import ReglBuffer from '../ReglBuffer';

View File

@ -1,6 +1,6 @@
import { gl } from '@antv/l7-core';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
import ReglAttribute from '../ReglAttribute';
import ReglBuffer from '../ReglBuffer';

View File

@ -1,6 +1,6 @@
import { gl } from '@antv/l7-core';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
import ReglAttribute from '../ReglAttribute';
import ReglBuffer from '../ReglBuffer';

View File

@ -1,5 +1,5 @@
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import ReglModel from '../ReglModel';
import createContext from './utils/create-context';

View File

@ -1,5 +1,5 @@
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import ReglFramebuffer from '../ReglFramebuffer';
import ReglModel from '../ReglModel';
import ReglTexture2D from '../ReglTexture2D';

View File

@ -1,6 +1,6 @@
import { gl } from '@antv/l7-core';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import copy from '../../../../core/src/shaders/post-processing/copy.glsl';
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
import { ReglRendererService } from '../../index';

View File

@ -1,6 +1,6 @@
import { gl } from '@antv/l7-core';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import copy from '../../../../core/src/shaders/post-processing/copy.glsl';
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
import ReglAttribute from '../ReglAttribute';

View File

@ -22,8 +22,8 @@ import {
ITexture2DInitializationOptions,
} from '@antv/l7-core';
import { injectable } from 'inversify';
import 'reflect-metadata';
import regl from 'l7regl';
import 'reflect-metadata';
import ReglAttribute from './ReglAttribute';
import ReglBuffer from './ReglBuffer';
import ReglElements from './ReglElements';

View File

@ -127,9 +127,9 @@ export default class ScaleComponent extends React.Component {
scene.addLayer(layer);
});
scene.on('loaded', () => {
scene.addLayer(imageLayer);
});
scene.on('loaded', () => {
scene.addLayer(imageLayer);
});
}
public render() {