From e3b8aabf23b8777c845c624306cdb443d629d952 Mon Sep 17 00:00:00 2001 From: Pascal Engeler <engelerp@phys.ethz.ch> Date: Mon, 11 Oct 2021 11:36:09 +0200 Subject: [PATCH] reorder --- src/ray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ray.cpp b/src/ray.cpp index 6be28ab..9fa3594 100644 --- a/src/ray.cpp +++ b/src/ray.cpp @@ -3,7 +3,7 @@ ray::ray() {} ray::ray(const point3& origin, const vec3& direction, double amplitude, double opl, double index_of_refraction, int phase_flips, int max_bounces) -: orig(origin), dir(direction), amplitude(amplitude), optical_path(opl), refractive_index(index_of_refraction), +: orig(origin), dir(direction), optical_path(opl), amplitude(amplitude), refractive_index(index_of_refraction), phase_flips(phase_flips), source(0), bounces_left(max_bounces){ } -- GitLab