Skip to content

Commit

Permalink
use C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Oct 24, 2024
1 parent 694822d commit d5082fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/base/base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ this_cxxflags += -Werror # treat warnings as errors
this_cxxflags += -Wfatal-errors # stop on first error encountered
this_cxxflags += -fstrict-aliasing # in order to comply with the c++ standard more strictly
this_cxxflags += -g # include debugging symbols
this_cxxflags += -std=c++17
this_cxxflags += -std=c++20
this_cxxflags += -fPIC
this_cxxflags += -Wno-deprecated-declarations

Expand Down
6 changes: 3 additions & 3 deletions src/ruis/render/scene/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ struct trs {
};

constexpr trs transformation_identity{
{0.0f, 0.0f, 0.0f},
{0.0f, 0.0f, 0.0f, 1.0f},
{1.0f, 1.0f, 1.0f}
.translation = {0.0f, 0.0f, 0.0f},
.rotation = {0.0f, 0.0f, 0.0f, 1.0f},
.scale = {1.0f, 1.0f, 1.0f}
};

class scene;
Expand Down

0 comments on commit d5082fc

Please sign in to comment.