added even more missing nodiscard messages

This commit is contained in:
2026-06-15 20:31:57 +03:00
parent 2779bae82f
commit fee4e4b9e3
24 changed files with 88 additions and 80 deletions
@@ -10,7 +10,7 @@ namespace omath::opengl_engine
class MeshTrait final
{
public:
[[nodiscard]]
[[nodiscard("rotation matrix result should not be discarded")]]
static Mat4X4 rotation_matrix(const ViewAngles& rotation)
{
return opengl_engine::rotation_matrix(rotation);