X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fmatrix-stack.h;h=5c5c9237a379d50915716abde184e0db89c26075;hp=f764da117ba0652ec447c1687abc6d201db32766;hb=9ddd5fea6278d06b8874988498c7c4c6508750ba;hpb=f2039d47f9bed8104575da80a2ecf0bb6e37ff8d diff --git a/dali-scene-loader/public-api/matrix-stack.h b/dali-scene-loader/public-api/matrix-stack.h index f764da1..5c5c923 100644 --- a/dali-scene-loader/public-api/matrix-stack.h +++ b/dali-scene-loader/public-api/matrix-stack.h @@ -1,7 +1,7 @@ #ifndef DALI_SCENE_LOADER_MATRIX_STACK_H_ #define DALI_SCENE_LOADER_MATRIX_STACK_H_ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,14 +21,13 @@ #include "dali-scene-loader/public-api/api.h" // EXTERNAL INCLUDES -#include "dali/public-api/math/matrix.h" #include "dali/public-api/common/vector-wrapper.h" +#include "dali/public-api/math/matrix.h" namespace Dali { namespace SceneLoader { - /** * @brief A stack of matrices whereby each newly pushed matrix is stored * after being multiplied by the previous one (if any). @@ -39,17 +38,17 @@ class DALI_SCENE_LOADER_API MatrixStack public: MatrixStack(); - bool IsEmpty() const; - void Push(const Matrix& model); + bool IsEmpty() const; + void Push(const Matrix& model); const Matrix& Top() const; - void Pop(); - void PopAll(); // clears the stack, but retains the storage. + void Pop(); + void PopAll(); // clears the stack, but retains the storage. private: std::vector mStack; }; -} -} +} // namespace SceneLoader +} // namespace Dali #endif //DALI_SCENE_LOADER_MATRIX_STACK_H_