mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
add implementations for geometry methods
This commit is contained in:
parent
e652b957f0
commit
5524343a6e
2 changed files with 13 additions and 0 deletions
9
src/Geometry.cc
Normal file
9
src/Geometry.cc
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include "Geometry.h"
|
||||
|
||||
void Geometry::setTransform(const Matrix4f &transform) {
|
||||
this->transform = transform;
|
||||
}
|
||||
|
||||
bool Sphere::intersect() const { return false; }
|
||||
|
||||
bool Rectangle::intersect() const { return false; }
|
Loading…
Add table
Add a link
Reference in a new issue