Logo Search packages:      
Sourcecode: agave version File versions  Download package

bool gcs::operator== ( tColorRgb  first,
tColorRgb  last 
)

Compare tColorRgb values

Definition at line 71 of file gcs-types.cc.

References gcs::tColorRgb::blue, gcs::tColorRgb::green, and gcs::tColorRgb::red.

    {
        if (first.red == last.red &&
                first.green == last.green && 
                first.blue == last.blue)
        {
            return true;
        }
        else
        {
            return false;
        }
    }


Generated by  Doxygen 1.6.0   Back to index