Ocular Engine
PointLight.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_CORE_LIGHT_POINT__H__
19 #define __H__OCULAR_CORE_LIGHT_POINT__H__
20 
21 #include "LightSource.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Core
36  {
40  class PointLight : public LightSource
41  {
42  public:
43 
44  PointLight(std::string const& name, SceneObject* parent = nullptr);
45  PointLight();
46 
47  virtual ~PointLight();
48 
49  virtual void onVariableModified(std::string const& varName) override;
50 
51  protected:
52 
53  void exposeProperties();
54 
55  virtual void updateBounds(uint32_t dirtyFlags) override;
56 
57  private:
58  };
59  }
63 }
68 //------------------------------------------------------------------------------------------
69 
70 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
virtual void onVariableModified(std::string const &varName) override
Definition: PointLight.cpp:62
Definition: SceneObject.hpp:93
Definition: PointLight.hpp:40
Definition: LightSource.hpp:43