Updates to osgParticle form Macro.

This commit is contained in:
Robert Osfield
2002-07-22 16:01:00 +00:00
parent f007e7c3be
commit 609a9ebf21
3 changed files with 75 additions and 6 deletions

View File

@@ -136,9 +136,12 @@ class OSGTEXT_EXPORT RasterFont:public Font
class OSGTEXT_EXPORT VectorFont:public Font
{
public:
VectorFont():Font(){}
VectorFont():Font(),_precision(0.0) {}
VectorFont(const VectorFont& font,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY):
Font(font,copyop) {}
Font(font,copyop),
_precision(font._precision) {}
VectorFont(const std::string& /*font*/):Font(){}
virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const VectorFont *>(obj)!=NULL; }