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

Commit 93b97fc

Browse files
committed
Style fix
1 parent a953e05 commit 93b97fc

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
@@ -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

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)