fix ts issue

This commit is contained in:
Yeicor
2024-03-03 19:14:03 +01:00
parent 96ff78a0e3
commit 17afc11cd1

View File

@@ -56,7 +56,7 @@ function positionToHotspot(position: Vector3): string {
return position.x + ' ' + position.y + ' ' + position.z;
}
function addLine3D(p1: Vector3, p2: Vector3, centerText?: string = undefined, lineAttrs: { [key: string]: string } = {
function addLine3D(p1: Vector3, p2: Vector3, centerText?: string, lineAttrs: { [key: string]: string } = {
"stroke-width": "2",
"stroke": "red",
}): number | null {