Show
Ignore:
Timestamp:
12/06/07 18:01:22 (7 years ago)
Author:
robert
Message:

From Mathias Froehlich, "Attached is a changed version of osgunittests.cpp. The FUNCTION
macro/string value is not portable. Instead the functions name is just put
into the string."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgunittests/osgunittests.cpp

    r7597 r7608  
    238238    double yaw2step = 0.1; 
    239239#endif 
    240      
    241     std::cout << std::endl << "Starting " << __FUNCTION__ << ", it can take a while ..." << std::endl; 
     240 
     241    std::cout << std::endl << "Starting testGetQuatFromMatrix, it can take a while ..." << std::endl; 
    242242 
    243243    osg::Timer_t tstart, tstop; 
     
    293293                (fabs(out_quat1.z()-out_quat2.z())) > eps || 
    294294                (fabs(out_quat1.w()-out_quat2.w())) > eps) { 
    295                 std::cout << __FUNCTION__ << " problem at: \n" 
     295                std::cout << "testGetQuatFromMatrix problem at: \n" 
    296296                      << " r1=" << rol1 
    297297                      << " p1=" << pit1 
     
    311311    tstop = osg::Timer::instance()->tick(); 
    312312    double duration = osg::Timer::instance()->delta_s(tstart,tstop); 
    313     std::cout << "Time for " << __FUNCTION__ << " with " << count << " iterations: " << duration << std::endl << std::endl; 
     313    std::cout << "Time for testGetQuatFromMatrix with " << count << " iterations: " << duration << std::endl << std::endl; 
    314314} 
    315315