Search
 
 

Display results as :
 


Rechercher Advanced Search

Keywords

download  Source  code  

May 2018
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031   

Calendar Calendar

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


Debugging speed.

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

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

View user profile

Back to top Go down

Back to top

- Similar topics

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