mpri-graphics-project/Implicit.hpp

12 lines
269 B
C++
Raw Normal View History

2018-02-06 19:07:07 +01:00
#pragma once
#include "common_structures.hpp"
class ImplicitSurface {
public:
virtual double operator() (double x, double y, double z) const;
double operator()(const Point& pt) const {
return operator()(pt.x, pt.y, pt.z);
}
2018-02-07 17:57:49 +01:00
};