reorganize to use .bat files instead of .sh. Move demo to an example project

This commit is contained in:
2025-09-15 10:58:01 -05:00
parent 530dea9728
commit e77dfde1bc
18 changed files with 115 additions and 39 deletions

View File

@@ -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); }