MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Pixel

Method Pixel

olcPixelGameEngine.h:1860–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1858 // O------------------------------------------------------------------------------O
1859#if !defined(OLC_IGNORE_PIXEL)
1860 Pixel::Pixel()
1861 {
1862 r = 0; g = 0; b = 0; a = nDefaultAlpha;
1863 }
1864
1865 Pixel::Pixel(uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)
1866 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected