X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fview-projection.h;h=26ce908d67e14fd356128fb45e99cbafbf259828;hp=70efc4febfb990b73c5c932deeb95b5e67df8959;hb=364e965c1bd87ea7906d920cf3a082d1c688d315;hpb=7a315fe9869206bf6ad3195931f27d88fe9c128e diff --git a/dali-scene-loader/public-api/view-projection.h b/dali-scene-loader/public-api/view-projection.h index 70efc4f..26ce908 100644 --- a/dali-scene-loader/public-api/view-projection.h +++ b/dali-scene-loader/public-api/view-projection.h @@ -1,7 +1,7 @@ #ifndef DALI_SCENE_LOADER_VIEW_PROJECTION_H_ #define DALI_SCENE_LOADER_VIEW_PROJECTION_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. @@ -27,7 +27,6 @@ namespace Dali { namespace SceneLoader { - /** * @brief Contains view and projection matrices, also caching the view-projection * and inverse projection matrices. @@ -35,18 +34,36 @@ namespace SceneLoader class ViewProjection { public: - Matrix& GetView() { return mView; } - Matrix& GetProjection() { return mProjection; } + Matrix& GetView() + { + return mView; + } + Matrix& GetProjection() + { + return mProjection; + } /* * @brief Updates the cached view projection and inverse projection matrices. */ void Update(); - const Matrix& GetView() const { return mView; } - const Matrix& GetProjection() const { return mProjection; } - const Matrix& GetInverseProjection() const { return mInvProjection; } - const Matrix& GetViewProjection() const { return mViewProjection; } + const Matrix& GetView() const + { + return mView; + } + const Matrix& GetProjection() const + { + return mProjection; + } + const Matrix& GetInverseProjection() const + { + return mInvProjection; + } + const Matrix& GetViewProjection() const + { + return mViewProjection; + } private: Matrix mView; @@ -55,7 +72,7 @@ private: Matrix mViewProjection; }; -} -} +} // namespace SceneLoader +} // namespace Dali #endif //DALI_SCENE_LOADER_VIEW_PROJECTION_H_