mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-20 06:27:04 +01:00
fix ts issue
This commit is contained in:
@@ -56,7 +56,7 @@ function positionToHotspot(position: Vector3): string {
|
|||||||
return position.x + ' ' + position.y + ' ' + position.z;
|
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-width": "2",
|
||||||
"stroke": "red",
|
"stroke": "red",
|
||||||
}): number | null {
|
}): number | null {
|
||||||
|
|||||||
Reference in New Issue
Block a user