MCPcopy
hub / github.com/brianchirls/Seriously.js / setBit

Function setBit

lib/three.js:10400–10404  ·  view source on GitHub ↗
( value, position, enabled )

Source from the content-addressed store, hash-verified

10398 }
10399
10400 function setBit( value, position, enabled ) {
10401
10402 return enabled ? value | ( 1 << position ) : value & ( ~ ( 1 << position) );
10403
10404 }
10405
10406 function getNormalIndex( normal ) {
10407

Callers 1

three.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected