This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ namespace
42
42
return ret;
43
43
}
44
44
45
- void Run (const fs::path& assets_path )
45
+ void Run (const fs::path& assetsPath )
46
46
{
47
47
static constexpr Tkge::WindowSurface surface{.size = {1280 , 720 }};
48
48
Tkge::Engine engine{surface};
49
49
50
50
auto shader = Tkge::Graphics::Shader{};
51
- const auto vertexSpirV = LoadSpirV ((assets_path / " Shaders/Default.vert" ).string ().c_str ());
52
- const auto fragmentSpirV = LoadSpirV ((assets_path / " Shaders/Default.frag" ).string ().c_str ());
51
+ const auto vertexSpirV = LoadSpirV ((assetsPath / " Shaders/Default.vert" ).string ().c_str ());
52
+ const auto fragmentSpirV = LoadSpirV ((assetsPath / " Shaders/Default.frag" ).string ().c_str ());
53
53
const auto & renderDevice = engine.RenderDevice ();
54
54
if (!shader.Load (renderDevice.get_device (), vertexSpirV, fragmentSpirV)) { throw std::runtime_error{" Failed to load shaders" }; }
55
55
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace Tkge
11
11
[[nodiscard]] auto ToView () const -> glm::mat4;
12
12
[[nodiscard]] auto ToInverseView () const -> glm::mat4;
13
13
14
- [[nodiscard]] static constexpr auto Accumulate (const Transform& a, const Transform& b) -> Transform
14
+ [[nodiscard]] static constexpr Transform Accumulate (const Transform& a, const Transform& b)
15
15
{
16
16
return Transform{
17
17
.position = a.position + b.position ,
You can’t perform that action at this time.
0 commit comments