include/GizegoEngine.h
//Sets the color of a pixel.
Sets the color of a pixel.
Sets the color of a pixel .
inline void SetPixel(vec2 pos, Color color)
		{
			int offset = (pos.x + pos.y *m_width) * 4;
			for (unsigned char i = 0; i <  4; i++)
				m_data[offset + i] = *((unsigned char*)&color + i);
		}
inline void SetPixel ( vec2 pos , Color color ) { int offset = ( pos . x + pos . y * m_width ) * 4 ; for ( unsigned char i = 0 ; i < 4 ; i ++ ) m_data [ offset + i ] = * ( ( unsigned char * ) & color + i ) ; }
Sets the color of a pixel.
Sets the color of a pixel .