Import fix
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
const canvas = document.getElementById("canvas");
|
||||
// Compute arrow polygon
|
||||
import { getArrowPolygon } from "athena-utils/Arrow.js";
|
||||
import { CalculationStyle } from "athena-utils/Arrow.js";
|
||||
import { getCirclePolygon } from "athena-utils/BasicShapes.js";
|
||||
import { getRectanglePolygon } from "athena-utils/BasicShapes.js";
|
||||
import { getArrowPolygon } from "athena-utils/shape/Arrow.js";
|
||||
import { CalculationStyle } from "athena-utils/shape/Arrow.js";
|
||||
import { getCirclePolygon } from "athena-utils/shape/BasicShapes.js";
|
||||
import { getRectanglePolygon } from "athena-utils/shape/BasicShapes.js";
|
||||
// Polygon merge using Turf library
|
||||
import {mergeTurfPolygons} from "athena-utils/Polygon.js";
|
||||
import {addTurfPolygonToMerge} from "athena-utils/Polygon.js";
|
||||
import {toTurfPolygon} from "athena-utils/Polygon.js";
|
||||
import {drawPolygon} from "athena-utils/PolygonVisuals.js";
|
||||
import {mergeTurfPolygons} from "athena-utils/shape/Polygon.js";
|
||||
import {addTurfPolygonToMerge} from "athena-utils/shape/Polygon.js";
|
||||
import {toTurfPolygon} from "athena-utils/shape/Polygon.js";
|
||||
import {drawPolygon} from "athena-utils/shape/PolygonVisuals.js";
|
||||
|
||||
const circleCenter = {x:320, y:180};
|
||||
const circleRadius = 70;
|
||||
|
||||
Reference in New Issue
Block a user