Activate point_is_on_surface() and calculate_normal()
This commit is contained in:
parent
6bb7689ac0
commit
86a9c74c1e
3 changed files with 17 additions and 16 deletions
|
@ -24,6 +24,7 @@ public:
|
|||
void set_radius(float r);
|
||||
|
||||
int does_intersect(const Ray &ray, float **t) const;
|
||||
bool point_is_on_surface(const Vector3 &p) const;
|
||||
Vector3 compute_normal(const Vector3 &p) const;
|
||||
private:
|
||||
float radius;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue