History

add Math.map(), .map2(), .clampf(), .clamp(); Math.loglevel(); examples/math

Ge Wang committed 3 years ago

Commit 65190221 parent 9adcee514 files · +178 −32Browse files

Showing the changes to src/core/chuck_errmsg.cpp (1 of 14 files). Show all

Unified · Split

src/core/chuck_errmsg.cpp+2−2
@@ -576,7 +576,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 575 unmodified lines
576{576{
577 va_list ap;577 va_list ap;
578 578
579 if( level > CK_LOG_CRAZY ) level = CK_LOG_CRAZY;579 if( level > CK_LOG_ALL ) level = CK_LOG_ALL;
580 else if( level <= CK_LOG_NONE ) level = CK_LOG_NONE + 1;580 else if( level <= CK_LOG_NONE ) level = CK_LOG_NONE + 1;
581 581
582 // check level582 // check level
@@ -607,7 +607,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 24 unmodified lines
607// set log level607// set log level
608void EM_setlog( t_CKINT level )608void EM_setlog( t_CKINT level )
609{609{
610 if( level > CK_LOG_CRAZY ) level = CK_LOG_CRAZY;610 if( level > CK_LOG_ALL ) level = CK_LOG_ALL;
611 else if( level < CK_LOG_NONE ) level = CK_LOG_NONE;611 else if( level < CK_LOG_NONE ) level = CK_LOG_NONE;
612 g_loglevel = level;612 g_loglevel = level;
613 613

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t