Search
 
 

Display results as :
 


Rechercher Advanced Search

Keywords

Source  download  code  

January 2018
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar

Партнеры
Создать форум
Language
Top posting users this week


Debugging speed.

View previous topic View next topic Go down

Debugging speed.

Post by kohedlo on Sat May 13, 2017 2:05 pm

There are helper c++ function for dynamic float values debugging, making mini editor speed uping debugging.

Code:


// imperial game engine 2007-2017(c)

float debiggerDynamicFuncF1_2float(float in, float inctementVal, float decrimentVal)
{
if(GetAsyncKeyState(VK_F1) != 0)
in = in + inctementVal;

if(GetAsyncKeyState(VK_F2) != 0)
in = in - decrimentVal;

Ogre::LogManager::getSingleton().logMessage("float debiggerFuncF12float "+Ogre::StringConverter::toString(in));
return in;
}

kohedlo
Admin

Сообщения : 1019
Experiance Points : 2365
Reputation : 2
Дата регистрации : 2009-08-30

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum