Skip to content

Commit

Permalink
fix: u_globel in arc3d
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Jun 5, 2024
1 parent 45466e1 commit 7f19909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layers/src/line/models/arc_3d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class Arc3DModel extends BaseModel {
u_sourceColor: sourceColorArr,
u_targetColor: targetColorArr,
u_textSize: [1024, this.iconService.canvasHeight || 128],
u_globel: this.mapService.version === 'Globel' ? 1 : 0,
u_globel: this.mapService.type === 'Globel' ? 1 : 0,
u_globel_radius: EARTH_RADIUS, // 地球半径
u_global_height: globalArcHeight,
segmentNumber,
Expand Down

0 comments on commit 7f19909

Please sign in to comment.