File indexing completed on 2026-04-09 07:49:16
0001 #pragma once
0002
0003 #include <vector>
0004 #include <map>
0005 template <typename T> struct SCenterExtentFrame ;
0006
0007 template<typename T>
0008 struct SCenterExtentFrameTest
0009 {
0010 SCenterExtentFrameTest( const SCenterExtentFrame<T>& cef );
0011
0012 const SCenterExtentFrame<T>& cef ;
0013 const glm::tvec4<T>& ce ;
0014
0015 std::vector<std::string> modes ;
0016 std::vector<std::string> pref_modes ;
0017
0018 std::map<std::string, glm::tmat4x4<T>> _model2world ;
0019 std::map<std::string, glm::tmat4x4<T>> _world2model ;
0020
0021 void check(const std::vector<glm::vec4>& world, const std::vector<std::string>& label, const char* title, const char* w2m_mode, const char* m2w_mode );
0022 void check(char m='P');
0023 void dump(char m='P');
0024 };
0025
0026