X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fcamera-parameters.h;h=06370fc29e4fa9fec88ad42737170a3f88430a2c;hb=aefac7b91818861d25e2312ea4b63d2deb1a9a86;hp=044c7f439c6d90f141cecb2f6ced587f1f805dd6;hpb=02557f62f8d171115d885c87c138faec2a3cb923;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-scene-loader/public-api/camera-parameters.h b/dali-scene-loader/public-api/camera-parameters.h index 044c7f4..06370fc 100644 --- a/dali-scene-loader/public-api/camera-parameters.h +++ b/dali-scene-loader/public-api/camera-parameters.h @@ -1,7 +1,7 @@ #ifndef DALI_SCENE_LOADER_CAMERA_PARAMETERS_H #define DALI_SCENE_LOADER_CAMERA_PARAMETERS_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. @@ -17,7 +17,7 @@ * */ - // INTERNAL INCLUDES +// INTERNAL INCLUDES #include "dali-scene-loader/public-api/api.h" #include "dali-scene-loader/public-api/view-projection.h" @@ -27,20 +27,18 @@ namespace Dali { - class CameraActor; namespace SceneLoader { - struct DALI_SCENE_LOADER_API CameraParameters { - Matrix matrix = Matrix::IDENTITY; - Vector4 orthographicSize = Vector4{ -1.f, 1.f, 1.f, -1.f }; - float yFov = 60.f; - float zNear = 0.1f; - float zFar = 1000.f; - bool isPerspective = true; + Matrix matrix = Matrix::IDENTITY; + Vector4 orthographicSize = Vector4{-1.f, 1.f, 1.f, -1.f}; + float yFov = 60.f; + float zNear = 0.1f; + float zFar = 1000.f; + bool isPerspective = true; /** * @return The view-projection matrix of the camera. @@ -61,7 +59,7 @@ struct DALI_SCENE_LOADER_API CameraParameters void ConfigureCamera(CameraActor& camera) const; }; -} -} +} // namespace SceneLoader +} // namespace Dali #endif // DALI_SCENE_LOADER_CAMERA_PARAMETERS_H