This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
by Uğur Güney. March 8, 2014. | |
Hi! I started learning GLSL a month ago. The speedup gained by using | |
GPU to draw real-time graphics amazed me. If you want to learn | |
how to write shaders, this tutorial written by a beginner can be | |
a starting place for you. | |
Please fix my coding errors and grammar errors. :-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public: | |
static std::vector<std::string> splitStrA(const std::string &InputString, char delimiterChar) { | |
std::vector<std::string> ResultVec; | |
splitStrA(InputString, delimiterChar, ResultVec); | |
return ResultVec; | |
}; | |
static std::vector<std::wstring> splitStrW(const std::wstring &InputString, wchar_t delimiterChar) { | |
std::vector<std::wstring> ResultVec; | |
splitStrW(InputString, delimiterChar, ResultVec); |