blob: 849a37d481ff35c0e20a20872043912f0c7d1036 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "sphere.cuh"
__device__ T Sphere::distance_estimator(vect3 point) const {
return length(point) - r_;
}
__device__ Color Sphere::get_color(struct Ray ray) const {
return make_color(0);
}
|