ChunkGroundModel.h 479 B

1234567891011121314151617
  1. #pragma once
  2. #include "ChunkModelBuilder.h"
  3. #include "Area.h"
  4. class ChunkGroundModel : public ChunkModelBuilder
  5. {
  6. private:
  7. __int64 calculateLight(Framework::Vec3<float> vertexPos,
  8. Framework::Vec3<int> blockPos,
  9. Direction direction);
  10. bool isPartOfGroundModel(Framework::Vec3<int> location, int directionIndex);
  11. public:
  12. ChunkGroundModel(FactoryCraftModel* target, Chunk* zChunk);
  13. void buildModel() override;
  14. bool updateLightning() override;
  15. };