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 @@ -43,14 +43,14 @@ namespace
43
43
return ret;
44
44
}
45
45
46
- void Run (const fs::path& assets_path )
46
+ void Run (const fs::path& assetsPath )
47
47
{
48
48
static constexpr Tkge::WindowSurface surface{.size = {1280 , 720 }};
49
49
Tkge::Engine engine{surface};
50
50
51
51
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 ());
54
54
const auto & renderDevice = engine.RenderDevice ();
55
55
if (!shader.Load (renderDevice.get_device (), vertexSpirV, fragmentSpirV)) { throw std::runtime_error{" Failed to load shaders" }; }
56
56
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