MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / validateDomain

Function validateDomain

packages/core/src/colorLuts.ts:73–81  ·  view source on GitHub ↗
(domainMin: CubeLutVec3, domainMax: CubeLutVec3)

Source from the content-addressed store, hash-verified

71}
72
73function validateDomain(domainMin: CubeLutVec3, domainMax: CubeLutVec3): void {
74 if (
75 domainMax[0] <= domainMin[0] ||
76 domainMax[1] <= domainMin[1] ||
77 domainMax[2] <= domainMin[2]
78 ) {
79 throw new CubeLutParseError("DOMAIN_MAX values must be greater than DOMAIN_MIN values");
80 }
81}
82
83function parseTitle(line: string): string | null {
84 const quoted = /^TITLE\s+"([^"]*)"\s*$/i.exec(line);

Callers 1

parseCubeLutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected