-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,844 additions
and
1,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
// Just a fake file to replace some modules in tests | ||
// Just a fake file to replace some modules in tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'jsdom', | ||
preset: "ts-jest", | ||
testEnvironment: "jsdom", | ||
moduleNameMapper: { | ||
"Lut": "<rootDir>/fake.js", | ||
} | ||
}; | ||
Lut: "<rootDir>/fake.js", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
import {Color, Vector3} from "three"; | ||
import { Color, Vector3 } from "three"; | ||
|
||
export class LinePoint { | ||
public readonly point: Vector3 | ||
public readonly radius: number | ||
public readonly color: Color | ||
public readonly point: Vector3; | ||
public readonly radius: number; | ||
public readonly color: Color; | ||
|
||
constructor(point: Vector3, radius: number, color: Color = new Color("#29BEB0")) { | ||
this.point = point | ||
this.radius = radius | ||
this.color = color | ||
} | ||
} | ||
constructor( | ||
point: Vector3, | ||
radius: number, | ||
color: Color = new Color("#29BEB0"), | ||
) { | ||
this.point = point; | ||
this.radius = radius; | ||
this.color = color; | ||
} | ||
} |
Oops, something went wrong.