devel/CSGLib/src/Solid.cpp
/**
 * Sets the solid color (all the vertices with the same color)
 * 
 * @param color solid color
 */
Sets the solid color (all the vertices with the same color)

@param color solid color
Sets the solid color ( all the vertices with the same color ) @param color solid color
void Solid::setColor(const gxColor & color)
{
	for(int i=0; i < vertices.length; i++)
	{
		colors.SetColor(i, color);
	}
}
void Solid :: setColor ( const gxColor & color ) { for ( int i = 0 ; i < vertices . length ; i ++ ) { colors . SetColor ( i , color ) ; } }
Sets the solid color (all the vertices with the same color)
Sets the solid color ( all the vertices with the same color )