Updated demos to use DALi clang-format
[platform/core/uifw/dali-demo.git] / examples / rendering-basic-pbr / model-pbr.h
index 9cc956a..32cee9a 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_DEMO_MODELPBR_H
 
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -57,7 +57,7 @@ public:
    * @param[in] position The position of the actor.
    * @param[in] size The size of the actor.
    */
-  void Init( Shader shader, const std::string& modelUrl, const Vector3& position, const Vector3& size );
+  void Init(Shader shader, const std::string& modelUrl, const Vector3& position, const Vector3& size);
 
   /**
    * @brief Initializes the @p mTextureSet member with the needed textures for Physically Based Rendering.
@@ -67,17 +67,16 @@ public:
    * @param[in] diffuseTexture The diffuse texture.
    * @param[in] specularTexture The specular texture.
    */
-  void InitTexture( Texture albedoMetalTexture, Texture normalRoughTexture, Texture diffuseTexture, Texture specularTexture );
+  void InitTexture(Texture albedoMetalTexture, Texture normalRoughTexture, Texture diffuseTexture, Texture specularTexture);
 
   /**
    * @brief Retrieves the actor created by calling the Init() method.
    *
    * @return The Actor for the Physically Based Rendering.
    */
-  Actor &GetActor();
+  ActorGetActor();
 
 private:
-
   /**
    * @brief Creates a geometry from a @e obj model.
    *
@@ -85,11 +84,10 @@ private:
    *
    * @return The geometry.
    */
-  Geometry CreateGeometry( const std::string& url );
+  Geometry CreateGeometry(const std::string& url);
 
-  Actor mActor;
+  Actor      mActor;
   TextureSet mTextureSet;
 };
 
 #endif // DALI_DEMO_MODELPBR_H
-