summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-06 16:37:17 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-06 16:37:17 +0000
commit4922d448896abe5330f106f21fd6a3b0651ae9eb (patch)
tree50dc450e044059388406769c59e2418175266e8b /tests
parente2c40b8d6cabc68eda634e103d0824fb58d5908b (diff)
downloaddimension-4922d448896abe5330f106f21fd6a3b0651ae9eb.tar.xz
New C++ Raytracer type.
Diffstat (limited to 'tests')
-rw-r--r--tests/raytracexx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/raytracexx.cpp b/tests/raytracexx.cpp
index e3d55cf..c04e525 100644
--- a/tests/raytracexx.cpp
+++ b/tests/raytracexx.cpp
@@ -59,7 +59,8 @@ main() {
// Render the scene
{
- Progress rprogress = scene.raytrace_async();
+ Raytracer raytracer(scene);
+ Progress rprogress = raytracer.render_async();
std::cout << "Raytracing scene: " << rprogress << std::endl;
}