MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / isValid

Method isValid

COLLADAFramework/src/COLLADAFWColor.cpp:34–46  ·  view source on GitHub ↗

---------------------------------------------------------------

Source from the content-addressed store, hash-verified

32
33 //---------------------------------------------------------------
34 bool Color::isValid() const
35 {
36 if (!(( mR >= 0 && mR <= 1 ) &&
37 ( mG >= 0 && mG <= 1 ) &&
38 ( mB >= 0 && mB <= 1 ) &&
39 ( mA >= 0 && mA <= 1 )))
40 {
41// assert("Current color is not valid!");
42 return false;
43 }
44
45 return true;
46 }
47
48 //-------------------------------
49 bool Color::operator== ( const Color& uid ) const

Callers 15

importMethod · 0.45
exportUnknownEffectMethod · 0.45
toMaxPoint3Function · 0.45
importMethod · 0.45
addAmbientColorMethod · 0.45
recursivelyCloneINodeMethod · 0.45
toMaxColorFunction · 0.45
getEffectMethod · 0.45
importMethod · 0.45
importMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected