Changeset 197:de3826758fe9 in rrlib_math


Ignore:
Timestamp:
29.03.2020 22:54:58 (11 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
198:09ccf6c0397b, 199:679fdcf9dba1
Phase:
public
Message:

Adds explicit template rrlib_rtti tDataTypeInfo instantiations for various matrix types

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tMatrix.cpp

    r121 r197  
    7979} 
    8080} 
     81 
     82#ifdef _LIB_RRLIB_RTTI_PRESENT_ 
     83 
     84namespace rrlib 
     85{ 
     86namespace rtti 
     87{ 
     88template class detail::tDataTypeInfo<rrlib::math::tMat2x2d>; 
     89template class detail::tDataTypeInfo<rrlib::math::tMat3x3d>; 
     90template class detail::tDataTypeInfo<rrlib::math::tMat4x4d>; 
     91template class detail::tDataTypeInfo<std::vector<rrlib::math::tMat2x2d>>; 
     92template class detail::tDataTypeInfo<std::vector<rrlib::math::tMat3x3d>>; 
     93template class detail::tDataTypeInfo<std::vector<rrlib::math::tMat4x4d>>; 
     94} 
     95} 
     96 
     97#endif 
  • tMatrix.h

    r118 r197  
    8080#include "rrlib/math/matrix/functions.h" 
    8181 
     82#ifdef _LIB_RRLIB_RTTI_PRESENT_ 
     83#include "rrlib/rtti/rtti.h" 
     84#endif 
     85 
    8286#undef __rrlib__math__matrix__include_guard__ 
    8387 
     
    124128} 
    125129 
     130#ifdef _LIB_RRLIB_RTTI_PRESENT_ 
     131 
     132namespace rrlib 
     133{ 
     134namespace rtti 
     135{ 
     136extern template class detail::tDataTypeInfo<rrlib::math::tMat2x2d>; 
     137extern template class detail::tDataTypeInfo<rrlib::math::tMat3x3d>; 
     138extern template class detail::tDataTypeInfo<rrlib::math::tMat4x4d>; 
     139extern template class detail::tDataTypeInfo<std::vector<rrlib::math::tMat2x2d>>; 
     140extern template class detail::tDataTypeInfo<std::vector<rrlib::math::tMat3x3d>>; 
     141extern template class detail::tDataTypeInfo<std::vector<rrlib::math::tMat4x4d>>; 
     142} 
     143} 
     144 
    126145#endif 
     146 
     147#endif 
Note: See TracChangeset for help on using the changeset viewer.