// convert3ds.h // // Copyright (C) 2004-2010, Chris Laurel // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // Functions for converting a 3DS scene into a Celestia model (cmod) #pragma once #include #include #include #include extern void Convert3DSMesh(cmod::Model& model, M3DTriangleMesh& mesh3ds, const M3DScene& scene, const std::string& meshName); extern cmod::Model* Convert3DSModel(const M3DScene& scene, cmod::HandleGetter handleGetter);