return result;
}
+#ifndef NO_OPENSCENEGRAPH_INTERFACE
// Extended properties
template<>
std::istream& readFrom<SGVec3d>(std::istream& stream, SGVec3d& result);
template<>
std::istream& readFrom<SGVec4d>(std::istream& stream, SGVec4d& result);
+#endif
-
/**
* Property value types.
*/
DEFINTERNALPROP(const char[], STRING);
#undef DEFINTERNALPROP
+#ifndef NO_OPENSCENEGRAPH_INTERFACE
template<>
struct PropertyTraits<SGVec3d>
{
static const Type type_tag = VEC4D;
enum { Internal = 0 };
};
+#endif
+
}
}
return stream;
}
+#ifndef NO_OPENSCENEGRAPH_INTERFACE
template<>
std::ostream& SGRawBase<SGVec3d>::printOn(std::ostream& stream) const;
template<>
std::ostream& SGRawBase<SGVec4d>::printOn(std::ostream& stream) const;
+#endif
\f
/**