NormalMapGenerator.h 617 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef NORMALMAPGENERATOR_H_
  2. #define NORMALMAPGENERATOR_H_
  3. #include "Vector3.h"
  4. namespace gameplay
  5. {
  6. class NormalMapGenerator
  7. {
  8. public:
  9. NormalMapGenerator(const char* inputFile, const char* outputFile, int resolutionX, int resolutionY, const Vector3& worldSize);
  10. ~NormalMapGenerator();
  11. void generate();
  12. private:
  13. // Hidden copy/assignment
  14. NormalMapGenerator(const NormalMapGenerator&);
  15. NormalMapGenerator& operator=(const NormalMapGenerator&);
  16. std::string _inputFile;
  17. std::string _outputFile;
  18. int _resolutionX;
  19. int _resolutionY;
  20. Vector3 _worldSize;
  21. };
  22. }
  23. #endif