impl ray casted render

This commit is contained in:
Shuo Feng 2024-02-19 01:47:35 -05:00
parent ed42a0f9ca
commit 29c5fe91d9
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
5 changed files with 44 additions and 5 deletions

View file

@ -4,6 +4,6 @@ void Geometry::setTransform(const Matrix4f &transform) {
this->transform = transform;
}
bool Sphere::intersect() const { return false; }
bool Sphere::intersect(const Ray &r) const { return false; }
bool Rectangle::intersect() const { return false; }
bool Rectangle::intersect(const Ray &r) const { return false; }