Merge pull request #1440 from Person2099/fix/filament-override-ams-mapping-dispatch

fix: compute AMS mapping from force-colour overrides when 3MF reqs unavailable
This commit is contained in:
Seb
2026-05-20 11:25:45 +02:00
committed by GitHub
parent d3f0e9ac73
commit 14919a80a5
8 changed files with 360 additions and 10 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ const FNV1A_32_PRIME = 0x01000193;
/**
* Computes a fast 32-bit FNV-1a hash for deterministic, non-security tasks.
* Accepts any number of string/nullable-string inputs, takes measurements
* Accepts any number of string/nullable-string inputs, takes measurements
* to avoid collisions, and combines them into a 32-bit hash.
* Not cryptographically secure; use only for non-security-related use cases.
*/
@@ -38,7 +38,7 @@ export interface Mulberry32Sequence {
/**
* Creates a fast deterministic PRNG sequence using Mulberry32.
* Same seed will always produce the same sequence.
* Same seed will always produce the same sequence.
* Not cryptographically secure; use only for non-security-related use cases.
*/
export function random_mulberry32(seed: number): Mulberry32Sequence {