aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Scene.hpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-14 11:51:13 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-14 11:51:13 +0100
commitd6b11fadd9e64aecbe96e5f73f85be3c0d790dcf (patch)
tree2a1465e219d14ff02c2b293b76b54b74a37ade92 /src/crepe/api/Scene.hpp
parentd3a77a80fbda1f40d1f46552c1e3c2f6cd767668 (diff)
parentb9fc66f6922b1f40f2dbe14e8dfc4caa469654bc (diff)
Merge branch 'master' of github.com:lonkaars/crepe into jaro/particle-system-improvement
Diffstat (limited to 'src/crepe/api/Scene.hpp')
-rw-r--r--src/crepe/api/Scene.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/crepe/api/Scene.hpp b/src/crepe/api/Scene.hpp
new file mode 100644
index 0000000..14635df
--- /dev/null
+++ b/src/crepe/api/Scene.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "../util/Log.h"
+
+#include "Scene.h"
+
+namespace crepe {
+
+template <class... Args>
+void Scene::logf(const Log::Level & level, std::format_string<Args...> fmt, Args &&... args) {
+ Log::logf(level, fmt, std::forward<Args>(args)...);
+}
+
+template <class... Args>
+void Scene::logf(std::format_string<Args...> fmt, Args &&... args) {
+ Log::logf(fmt, std::forward<Args>(args)...);
+}
+
+} // namespace crepe