MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / CalculateRGB

Method CalculateRGB

ogsr_engine/xr_3da/LightAnimLibrary.cpp:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115u32 CLAItem::CalculateRGB(float T, int& frame)
116{
117 frame = iFloor(fmodf(T, float(iFrameCount) / fFPS) * fFPS);
118 return InterpolateRGB(frame);
119}
120
121u32 CLAItem::CalculateBGR(float T, int& frame)
122{

Callers 6

calculateMethod · 0.80
UpdateAnimMethod · 0.80
updateMethod · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80
OnFrameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected