LightPoint.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright © 2011-2020 Frictional Games
  3. *
  4. * This file is part of Amnesia: A Machine For Pigs.
  5. *
  6. * Amnesia: A Machine For Pigs is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. * Amnesia: A Machine For Pigs is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with Amnesia: A Machine For Pigs. If not, see <https://www.gnu.org/licenses/>.
  17. */
  18. #ifndef HPL_LIGHT_POINT_H
  19. #define HPL_LIGHT_POINT_H
  20. #include "scene/Light.h"
  21. namespace hpl {
  22. //------------------------------------------
  23. class cLightPoint : public iLight
  24. {
  25. #ifdef __GNUC__
  26. typedef iLight __super;
  27. #endif
  28. public:
  29. cLightPoint(tString asName, cResources *apResources);
  30. private:
  31. void UpdateBoundingVolume();
  32. };
  33. };
  34. #endif // HPL_LIGHT_POINT_H