MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / Clear

Method Clear

sources/effects/AnimationBaseMusic.cpp:58–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56};
57
58void MovingTarget::Clear()
59{
60 _averageColor = ColorRgb(0, 0, 0);
61 _fastColor = ColorRgb(0, 0, 0);
62 _slowColor = ColorRgb(0, 0, 0);
63 _targetAverageR = 0;
64 _targetAverageG = 0;
65 _targetAverageB = 0;
66 _targetAverageCounter = 0;
67 _targetSlowR = 0;
68 _targetSlowG = 0;
69 _targetSlowB = 0;
70 _targetSlowCounter = 0;
71 _targetFastR = 0;
72 _targetFastG = 0;
73 _targetFastB = 0;
74 _targetFastCounter = 0;
75};
76
77void MovingTarget::CopyFrom(MovingTarget* source)
78{

Callers 4

AnimationBaseMusicMethod · 0.80
ResetDataMethod · 0.80
cecHandlerMethod · 0.80

Calls 1

ColorRgbClass · 0.85

Tested by

no test coverage detected