diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-20 15:34:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 15:34:41 +0100 |
commit | 9e0973ca23423f270df3589e2766a0918e409526 (patch) | |
tree | 23dcbc05cd421ea5d31edbbb052cfb871b9ce1ec /core/math/transform_2d.h | |
parent | 3eb585e478d81a3181c2f32356d6a0c69c19db4a (diff) | |
parent | b411a731fef9af1c0a73e4d5b718e5a6b12af1c2 (diff) |
Merge pull request #56972 from lawnjelly/warn_unused
Diffstat (limited to 'core/math/transform_2d.h')
-rw-r--r-- | core/math/transform_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/transform_2d.h b/core/math/transform_2d.h index 752a885eba..6c2d51bd9b 100644 --- a/core/math/transform_2d.h +++ b/core/math/transform_2d.h @@ -33,7 +33,7 @@ #include "core/math/rect2.h" // also includes vector2, math_funcs, and ustring -struct Transform2D { +struct _NO_DISCARD_ Transform2D { // Warning #1: basis of Transform2D is stored differently from Basis. In terms of elements array, the basis matrix looks like "on paper": // M = (elements[0][0] elements[1][0]) // (elements[0][1] elements[1][1]) |