ChunkGroundModel.h 461 B

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