Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 4607c2e

Browse files
committed
Style fixes
1 parent 4023a39 commit 4607c2e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

App/Src/Main.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ namespace
4242
return ret;
4343
}
4444

45-
void Run(const fs::path& assets_path)
45+
void Run(const fs::path& assetsPath)
4646
{
4747
static constexpr Tkge::WindowSurface surface{.size = {1280, 720}};
4848
Tkge::Engine engine{surface};
4949

5050
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());
5353
const auto& renderDevice = engine.RenderDevice();
5454
if (!shader.Load(renderDevice.get_device(), vertexSpirV, fragmentSpirV)) { throw std::runtime_error{"Failed to load shaders"}; }
5555

Lib/Include/Tkge/Transform.hpp

+1-1
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)