makotok / Hanappe

Hanappe is a game framework for MOAI SDK.
Other
107 stars 41 forks source link

Allow hexToRGB to work cross platform #74

Closed halfnelson closed 11 years ago

halfnelson commented 11 years ago

use the optional base parameter instead of 0x, the 0x prefix is a gnuism and doesn't work on all implementations of libc. (lua just proxies call to strtod, which not all implementations have the 0x support) This was breaking hanappe mesh on emscripten

makotok commented 11 years ago

Thank you!