You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chunkgeometry.h 343B

1234567891011121314151617181920212223
  1. /*
  2. * Handles geometry for individual chunks
  3. */
  4. #pragma once
  5. #include "graphics/drawable.h"
  6. namespace vtk {
  7. class Chunk;
  8. class ChunkGeometry : public Drawable {
  9. public:
  10. void draw(RenderTask& task);
  11. void buildGeometry(Chunk& chunk);
  12. void buildVertices(Chunk& chunk);
  13. void buildLighting(Chunk& chunk);
  14. protected:
  15. unsigned mVAO;
  16. };
  17. }