MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ModulateA

Method ModulateA

Source/Graphics/ColourValue.cpp:201–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201c32 c32::ModulateA( c32 colour ) const
202{
203 u8 r = GetR();
204 u8 g = GetG();
205 u8 b = GetB();
206 u8 a = ModulateComponent( GetA(), colour.GetA() );
207
208 return c32( r, g, b, a );
209}
210
211c32 c32::Interpolate( c32 colour, float factor ) const
212{

Callers

nothing calls this directly

Calls 3

ModulateComponentFunction · 0.85
c32Class · 0.70
GetAMethod · 0.45

Tested by

no test coverage detected