From 10bfc58085c6ab7e62077a1a9b6a6d922fffb025 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sat, 26 Jul 2025 11:17:10 +0100 Subject: Rework multithreaded rendering Render worker tasks are now split into chunks rather than row blocks for better thread utilisation --- src/Colour.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/Colour.ts (limited to 'src/Colour.ts') diff --git a/src/Colour.ts b/src/Colour.ts deleted file mode 100644 index 3c9d8da..0000000 --- a/src/Colour.ts +++ /dev/null @@ -1,16 +0,0 @@ -import {Vector} from './Vector'; -import 'reflect-metadata'; - -export class Colour extends Vector { - constructor(readonly r: number, readonly g: number, readonly b: number) { - super(r, g, b); - } - - static fromVector(vector: Vector): Colour { - return new Colour(vector.x, vector.y, vector.z); - } - - toVector(): Vector { - return new Vector(this.r, this.g, this.b); - } -} -- cgit v1.2.3