They are declared in the global namespace, and MSVC insists that they be
defined there.
_properties.erase(it);
}
-namespace simgear
-{
template<>
std::ostream& SGRawBase<SGVec3d>::printOn(std::ostream& stream) const
{
return stream;
}
+namespace simgear
+{
template<>
std::istream& readFrom<SGVec3d>(std::istream& stream, SGVec3d& result)
{
}
return stream;
}
-
+}
template<>
std::ostream& SGRawBase<SGVec4d>::printOn(std::ostream& stream) const
{
return stream;
}
+namespace simgear
+{
template<>
std::istream& readFrom<SGVec4d>(std::istream& stream, SGVec4d& result)
{
}
return stream;
}
-
}
// end of props.cxx
if ((color = getEffectPropertyChild(effect, prop, "emissive-back")))
mat->setEmission(Material::BACK, getColor(color));
const SGPropertyNode* shininess = 0;
+ mat->setShininess(Material::FRONT_AND_BACK, 0.0f);
if ((shininess = getEffectPropertyChild(effect, prop, "shininess")))
mat->setShininess(Material::FRONT_AND_BACK, shininess->getFloatValue());
if ((shininess = getEffectPropertyChild(effect, prop, "shininess-front")))