Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 14, 2008, 3:40:48 PM (16 years ago)
Author:
rgrieder
Message:

Convert.h done. Has yet to be tested with gcc. And the comments have to be adapted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/orxonox/Orxonox.cc

    r1777 r1778  
    8686    assert(res == var##nr##2)
    8787
    88 template <>
    89 struct ConverterExplicit<orxonox::Radian, const char*>
    90 {
    91     static bool convert(orxonox::Radian* output, const char* input)
    92     {
    93         //std::string asdf("asfd");
    94         //std::cout << asdf;
    95         float temp;
    96         convertValue(&temp, input);
    97         *output = temp;
    98     }
    99 };
     88//template <>
     89//struct ConverterExplicit<orxonox::Radian, const char*>
     90//{
     91//    static bool convert(orxonox::Radian* output, const char* input)
     92//    {
     93//        //std::string asdf("asfd");
     94//        //std::cout << asdf;
     95//        float temp;
     96//        convertValue(&temp, input);
     97//        *output = temp;
     98//    }
     99//};
    100100
    101101class FooBar { };
Note: See TracChangeset for help on using the changeset viewer.