--- a/opengl.h Fri Dec 01 20:25:49 2023 +0100
+++ b/opengl.h Fri Dec 01 21:02:02 2023 +0100
@@ -49,13 +49,6 @@
}
inline
-Shader::Type toShaderType(const std::string& fileName) {
- if (fileName.ends_with(".vert")) return Shader::Type::VERTEX;
- else if (fileName.ends_with(".frag")) return Shader::Type::FRAGMENT;
- else throw std::invalid_argument("Expecting *.vert or *.frag file");
-}
-
-inline
void dump(const char* name, const glm::vec3& value) {
std::cerr << "dump: " << name << " = ["
<< value.x << ", "