diff options
Diffstat (limited to 'assetFactory')
-rw-r--r-- | assetFactory/mutation.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/assetFactory/mutation.h b/assetFactory/mutation.h index b571dea..20fe440 100644 --- a/assetFactory/mutation.h +++ b/assetFactory/mutation.h @@ -8,11 +8,10 @@ struct Mutation { using Matrix = glm::mat4; - Matrix getMatrix() const; - Matrix getDeformationMatrix() const; - Matrix getLocationMatrix() const; - - float relativeLevelOfDetail() const; + [[nodiscard]] Matrix getMatrix() const; + [[nodiscard]] Matrix getDeformationMatrix() const; + [[nodiscard]] Matrix getLocationMatrix() const; + [[nodiscard]] float relativeLevelOfDetail() const; Position3D position {}; Rotation3D rotation {}; |