Ray-Sphere intersections are working, no lighting/shading/materials/reflectance

git-svn-id: svn://anubis/fart/trunk@43 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-01-23 17:20:23 +00:00
parent bd12e9798f
commit 801f61f48c

View File

@ -73,7 +73,7 @@ void Scene::load(const char * filename)
{ {
/* TODO: parse file somehow */ /* TODO: parse file somehow */
Shape * shape = new Sphere(1.0); Shape * shape = new Sphere(1.0);
m_transform.translate(2.0, 4.0, 1.0); m_transform.translate(1.0, 5.0, 0.5);
shape->setTransform(m_transform); shape->setTransform(m_transform);
m_shapes.push_back(shape); m_shapes.push_back(shape);
} }