TransparentChunkGroundModel.h 515 B

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