This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ namespace
4343 return ret;
4444 }
4545
46- void Run (const fs::path& assets_path )
46+ void Run (const fs::path& assetsPath )
4747 {
4848 static constexpr Tkge::WindowSurface surface{.size = {1280 , 720 }};
4949 Tkge::Engine engine{surface};
5050
5151 auto shader = Tkge::Graphics::Shader{};
52- const auto vertexSpirV = LoadSpirV ((assets_path / " Shaders/Default.vert" ).string ().c_str ());
53- const auto fragmentSpirV = LoadSpirV ((assets_path / " Shaders/Default.frag" ).string ().c_str ());
52+ const auto vertexSpirV = LoadSpirV ((assetsPath / " Shaders/Default.vert" ).string ().c_str ());
53+ const auto fragmentSpirV = LoadSpirV ((assetsPath / " Shaders/Default.frag" ).string ().c_str ());
5454 const auto & renderDevice = engine.RenderDevice ();
5555 if (!shader.Load (renderDevice.get_device (), vertexSpirV, fragmentSpirV)) { throw std::runtime_error{" Failed to load shaders" }; }
5656
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace Tkge
1111 [[nodiscard]] auto ToView () const -> glm::mat4;
1212 [[nodiscard]] auto ToInverseView () const -> glm::mat4;
1313
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)
1515 {
1616 return Transform{
1717 .position = a.position + b.position ,
You can’t perform that action at this time.
0 commit comments