diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-02-16 22:26:33 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-02-16 22:26:33 +0100 |
| commit | 7de1a371e887865512312dc5937c6a3c6bf1299d (patch) | |
| tree | 885fcce047b7d4f6a4ce1d29135b0d332032ceee /src/utils.cpp | |
| parent | a51cbd463d328da70ca927c10680e0bdc3edfe02 (diff) | |
Attempt using imgui
Diffstat (limited to 'src/utils.cpp')
| -rw-r--r-- | src/utils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index c05cc77..3b7c445 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -32,6 +32,10 @@ std::vector<uint8_t> get_shader_code(const char* path) { return shader_code; } +std::vector<uint8_t> get_shader_code(std::string& path) { + return get_shader_code(path.c_str()); +} + color ground_color { 1.0, 1.0, 1.0 }; color sky_color { 0.5, 0.7, 1.0 }; |
