mpri-graphics-project/Implicit.hpp

11 lines
269 B
C++

#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);
}
};