MCPcopy Create free account
hub / github.com/sparkjsdev/spark / getNumSh

Method getNumSh

src/ExtSplats.ts:256–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254 }
255
256 getNumSh(): number {
257 return !this.extra.sh1
258 ? 0
259 : !this.extra.sh2
260 ? 1
261 : !this.extra.sh3a || !this.extra.sh3b
262 ? 2
263 : 3;
264 }
265
266 setMaxSh(maxSh: number) {
267 this.maxSh = maxSh;

Callers 2

constructorMethod · 0.95
hasRgbDirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected