Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:55

0001 #pragma once
0002 /**
0003 sxf.h : simple wrapper to give uniform behaviour to spa/sxf/sbb
0004 ===================================================================
0005 
0006 **/
0007 
0008 #include <string>
0009 #include <sstream>
0010 #include <iomanip>
0011 
0012 #include <glm/glm.hpp>
0013 #include "glm/gtx/string_cast.hpp"
0014 
0015 #include "SYSRAP_API_EXPORT.hh"
0016 
0017 struct SYSRAP_API sxf
0018 {
0019     static constexpr const char* NAME = "sxf" ; 
0020     glm::tmat4x4<double> t ; 
0021     glm::tmat4x4<double> v ; 
0022     std::string desc() const ;  
0023 }; 
0024 
0025 inline std::string sxf::desc() const 
0026 {
0027     std::stringstream ss ;
0028     ss 
0029         << "t " << glm::to_string(t) 
0030         << std::endl 
0031         << "v " << glm::to_string(v) 
0032         << std::endl 
0033         ;
0034         
0035     std::string str = ss.str(); 
0036     return str ; 
0037 }
0038 
0039