MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setAll

Method setAll

Engine/source/ts/tsIntegerSet.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void TSIntegerSet::setAll(S32 upto)
39{
40 AssertFatal(upto<=MAX_TS_SET_SIZE,"TSIntegerSet::setAll: out of range");
41
42 dMemset(bits,0xFFFFFFFF,(upto>>5)*4);
43 if (upto&31)
44 bits[upto>>5] |= SETUPTO(upto);
45}
46
47bool TSIntegerSet::testAll(S32 upto) const
48{

Callers 4

animateNodesMethod · 0.45
animateVisibilityMethod · 0.45
animateFrameMethod · 0.45
animateMatFrameMethod · 0.45

Calls 1

dMemsetFunction · 0.50

Tested by

no test coverage detected