El Jueves 07 Junio 2007, litingbaotou escribió:
> when I want to allocate memory for a group, I can use:
> 1) osg::ref_ptr< osg::Group > myGroup = new osg::Group;
> 2) osg::ref_ptr< osg::Group > myGroup = new osg::Group();
>
> Are there some differences between these two method?
I'd dare to say
when I want to allocate memory for a group, I can use:
1) osg::ref_ptr< osg::Group > myGroup = new osg::Group;
2) osg::ref_ptr< osg::Group > myGroup = new osg::Group();
Are there some differences between these two method?
litingbaotou
2007-06-07
___