Nurbs working to exactly define spherical patches. Ugly code but it can be cleaned up.

This commit is contained in:
kbladin
2016-04-07 20:49:52 -04:00
17 changed files with 719 additions and 97 deletions

View File

@@ -33,6 +33,7 @@
//#include <test_common.inl>
//#include <test_spicemanager.inl>
//#include <test_scenegraphloader.inl>
#include <test_chunknode.inl>
//#include <test_luaconversions.inl>
//#include <test_powerscalecoordinates.inl>
#include <test_latlonpatch.inl>
@@ -50,17 +51,19 @@ using namespace ghoul::filesystem;
using namespace ghoul::logging;
namespace {
std::string _loggerCat = "OpenSpaceTest";
std::string _loggerCat = "OpenSpaceTest";
}
int main(int argc, char** argv) {
std::vector<std::string> args;
openspace::OpenSpaceEngine::create(argc, argv, std::make_unique<openspace::WindowWrapper>(), args);
std::vector<std::string> args;
openspace::OpenSpaceEngine::create(argc, argv, std::make_unique<openspace::WindowWrapper>(), args);
testing::InitGoogleTest(&argc, argv);
int testResult = RUN_ALL_TESTS();
int hej;
std::cin >> hej;
return testResult;
testing::InitGoogleTest(&argc, argv);
int returnVal = RUN_ALL_TESTS();
// keep console from closing down
int dummy; std::cin >> dummy;
return returnVal;
}