include/GizegoEngine.h
//Fills the image with one color.
Fills the image with one color.
Fills the image with one color .
void Fill(Color color)
		{
			int k = m_width * m_height * 4;
			for (int i = 0; i < k; i += 4)
			{
				for (int f = 0; f < 4; f++)
				{
					m_data[i + f] = *((unsigned char*)&color + f);
				}
			}
		}
void Fill ( Color color ) { int k = m_width * m_height * 4 ; for ( int i = 0 ; i < k ; i += 4 ) { for ( int f = 0 ; f < 4 ; f ++ ) { m_data [ i + f ] = * ( ( unsigned char * ) & color + f ) ; } } }
Fills the image with one color.
Fills the image with one color .