reorganize to use .bat files instead of .sh. Move demo to an example project
This commit is contained in:
@@ -11,9 +11,12 @@
|
||||
|
||||
typedef unsigned int uint;
|
||||
|
||||
bool read_file(std::string* s, const char* filepath);
|
||||
std::vector<std::string> split_str(std::string s, char delim);
|
||||
using namespace std;
|
||||
|
||||
bool read_file(string* s, const char* filepath);
|
||||
vector<string> split_str(string s, char delim);
|
||||
glm::mat4 quat_to_mat4(glm::quat q);
|
||||
float randf();
|
||||
template<class T> T lerp(T start, T end, float t) { return t * end + (1 - t) * start; }
|
||||
template<class T> float ilerp(T start, T end, T pos) { return (pos - start) / (end - start); }
|
||||
template<class T> float ilerp(T start, T end, T pos) { return (pos - start) / (end - start); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user