Open patrikhuber opened 5 years ago
I think here https://github.com/patrikhuber/eos/blob/f8b235bf8da1eef947a62dc09e23ecde2c9c0f3b/include/eos/morphablemodel/PcaModel.hpp#L348 and here https://github.com/patrikhuber/eos/blob/f8b235bf8da1eef947a62dc09e23ecde2c9c0f3b/include/eos/morphablemodel/MorphableModel.hpp#L546 we could just pass const& model, otherwise we make a copy of the model.
const& model
I think here https://github.com/patrikhuber/eos/blob/f8b235bf8da1eef947a62dc09e23ecde2c9c0f3b/include/eos/morphablemodel/PcaModel.hpp#L348 and here https://github.com/patrikhuber/eos/blob/f8b235bf8da1eef947a62dc09e23ecde2c9c0f3b/include/eos/morphablemodel/MorphableModel.hpp#L546 we could just pass
const& model
, otherwise we make a copy of the model.