mirror of https://gitee.com/antv-l7/antv-l7
style: lint style
This commit is contained in:
parent
22807a0fa7
commit
09af464412
|
@ -79,19 +79,21 @@ export default class ExtrudeModel extends BaseModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
public getShaders() {
|
public getShaders() {
|
||||||
const { pickLight } = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
|
const {
|
||||||
|
pickLight,
|
||||||
|
} = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
|
||||||
if (pickLight) {
|
if (pickLight) {
|
||||||
return {
|
return {
|
||||||
frag: polygonExtrudePickLightFrag,
|
frag: polygonExtrudePickLightFrag,
|
||||||
vert: polygonExtrudePickLightVert,
|
vert: polygonExtrudePickLightVert,
|
||||||
type: 'polygonExtrude'
|
type: 'polygonExtrude',
|
||||||
}
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
frag: polygonExtrudeFrag,
|
frag: polygonExtrudeFrag,
|
||||||
vert: polygonExtrudeVert,
|
vert: polygonExtrudeVert,
|
||||||
type: 'polygonExtrude'
|
type: 'polygonExtrude',
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue