Skip to content

Commit

Permalink
it runs but with broken visuals
Browse files Browse the repository at this point in the history
wip

wip
  • Loading branch information
Nelarius committed Jun 8, 2024
1 parent ff29b58 commit 6876adb
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 338 deletions.
2 changes: 1 addition & 1 deletion src/common/extent.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ constexpr float aspectRatio(const Extent2<T>& extent) noexcept
template<typename T>
constexpr T area(const Extent2<T>& extent) noexcept
{
return static_cast<float>(extent.x) * static_cast<float>(extent.y);
return static_cast<T>(extent.x) * static_cast<T>(extent.y);
}

template<typename T>
Expand Down
Loading

0 comments on commit 6876adb

Please sign in to comment.