Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2006, 1:15:22 AM (18 years ago)
Author:
bensch
Message:

copy constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/md2/md2Model.cc

    r9824 r9827  
    9595}
    9696
     97MD2Model::MD2Model(const MD2Model& model)
     98  : data(model.data)
     99{
     100  this->init();
     101  this->rebuildInfo();
     102}
     103
    97104MD2Model& MD2Model::operator=(const MD2Model& md2model)
    98105{
    99106  this->data = md2model.data;
    100   rebuildInfo();
     107  this->rebuildInfo();
    101108  return *this;
    102109}
     
    133140{
    134141  this->data = MD2Data::Pointer(new MD2Data(modelFileName, skinFileName, scale));
     142  this->rebuildInfo();
    135143}
    136144
Note: See TracChangeset for help on using the changeset viewer.