23 lines
307 B
C++
23 lines
307 B
C++
//
|
|
// Created by nb on 07.07.24.
|
|
//
|
|
|
|
#ifndef BLOCK_BLOCK_H
|
|
#define BLOCK_BLOCK_H
|
|
|
|
#include <Vector/vector3.h>
|
|
|
|
namespace Volumes{
|
|
class Block{
|
|
public:
|
|
virtual ~Block() = default;
|
|
|
|
double getVolume();
|
|
|
|
private:
|
|
Vector::Vector3 corners[8];
|
|
};
|
|
}
|
|
|
|
#endif //BLOCK_BLOCK_H
|