Volumes/include/Block/block.h

23 lines
307 B
C
Raw Normal View History

2024-07-07 17:32:34 +02:00
//
// Created by nb on 07.07.24.
//
#ifndef BLOCK_BLOCK_H
#define BLOCK_BLOCK_H
2024-07-07 20:42:39 +02:00
#include <Vector/vector3.h>
2024-07-07 17:32:34 +02:00
namespace Volumes{
2024-07-07 20:42:39 +02:00
class Block{
public:
virtual ~Block() = default;
2024-07-07 17:32:34 +02:00
2024-07-07 20:54:14 +02:00
double getVolume();
2024-07-07 20:42:39 +02:00
private:
Vector::Vector3 corners[8];
2024-07-07 17:32:34 +02:00
};
}
#endif //BLOCK_BLOCK_H