// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include #include namespace Nz { /*! * \brief Creates a new SkeletalModel from the arguments * \return A reference to the newly created SkeletalModel * * \param args Arguments for the skeletal model */ template SkeletalModelRef SkeletalModel::New(Args&&... args) { std::unique_ptr object(new SkeletalModel(std::forward(args)...)); object->SetPersistent(false); return object.release(); } } #include