Scene reader reads figures now.

This commit is contained in:
2017-01-18 21:46:24 -04:00
parent 5edccd4d30
commit d0ffec8f60
14 changed files with 596 additions and 387 deletions

View File

@@ -13,8 +13,8 @@ class Figure {
public:
Material * m_mat;
Figure(BRDF * brdf = NULL) {
m_mat = new Material(brdf);
Figure(Material * mat = NULL) {
m_mat = mat == NULL ? new Material() : mat;
}
virtual ~Figure() {