Compilation fix

This commit is contained in:
Nikita Lisitsa 2023-11-02 20:05:15 +03:00
parent aa8f2faf75
commit 83e4823fcb
5 changed files with 6 additions and 1 deletions

View file

@ -10,6 +10,7 @@
#include <vector>
#include <optional>
#include <array>
#include <cstdint>
namespace psemek::gfx
{

View file

@ -1651,7 +1651,8 @@ void main(){}
cascade_transform[2][3] = (b[0] * near + b[1] * far) / 2.f;
}
for (auto v : cg::vertices(cg::frustum{cascade_transform}))
cg::frustum frustum{cascade_transform};
for (auto v : cg::vertices(frustum))
shadowed_bbox |= v;
shadowed_bbox &= casts_shadow_bbox;

View file

@ -8,6 +8,7 @@
#include <memory>
#include <variant>
#include <cstdint>
namespace psemek::phys2d
{

View file

@ -8,6 +8,7 @@
#include <psemek/util/pimpl.hpp>
#include <variant>
#include <cstdint>
namespace psemek::phys3d
{

View file

@ -5,6 +5,7 @@
#include <memory>
#include <array>
#include <type_traits>
#include <algorithm>
namespace psemek::util
{