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.
 
 

16 lines
272 B

#pragma once
#include <real.hpp>
#include <vec.hpp>
#include <line.hpp>
class ISolid {
public:
virtual ~ISolid() = default;
virtual real sdf(Vec3 p);
};
class IExtrudedSolid : public ISolid {
protected:
virtual Vec3 getClosestPointOnAxis(const Vec3 &p);
};