Skip to content

Instantly share code, notes, and snippets.

@JBlackCat
JBlackCat / fragment_shader_tutorials.glsl
Created March 27, 2017 18:48
GLSL Beginner Tutorials from ShaderToy.com
/*
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. :-)
@ju1ion
ju1ion / split.hpp
Created June 1, 2016 09:39
C++ String split without boost
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);