Remove readonly from ctors

This commit is contained in:
Daniel Imms
2020-04-14 06:03:31 -07:00
parent e2ac4b45d0
commit 04c1e4b57d
7 changed files with 16 additions and 15 deletions
+1
View File
@@ -14,6 +14,7 @@ export class AttributeData implements IAttributeData {
value & 255
];
}
static fromColorRGB(value: IColorRGB): number {
return (value[0] & 255) << Attributes.RED_SHIFT | (value[1] & 255) << Attributes.GREEN_SHIFT | value[2] & 255;
}