diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2022-01-02 18:23:36 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2022-01-02 18:23:36 +0000 |
| commit | e075667cd2dc878dd9dceb07c85719f6712bcda1 (patch) | |
| tree | 414e76418d92a39c59b1f5faf08289c0a729ddb4 /src/Colour.ts | |
| parent | 7ad1b7efabea1349107669a432e6c88305f8d825 (diff) | |
| download | js-raytracer-e075667cd2dc878dd9dceb07c85719f6712bcda1.tar.xz js-raytracer-e075667cd2dc878dd9dceb07c85719f6712bcda1.zip | |
Implement multi-threaded rendering
Diffstat (limited to 'src/Colour.ts')
| -rw-r--r-- | src/Colour.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Colour.ts b/src/Colour.ts index 4f2c4a6..3c9d8da 100644 --- a/src/Colour.ts +++ b/src/Colour.ts @@ -1,4 +1,5 @@ import {Vector} from './Vector'; +import 'reflect-metadata'; export class Colour extends Vector { constructor(readonly r: number, readonly g: number, readonly b: number) { |