From c84be3969ad1272f98187901a155a27ae8fac51a Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 19 Jul 2011 20:04:09 +0200 Subject: [PATCH] switched order of initialization accordingly --- include/mitsuba/render/records.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mitsuba/render/records.inl b/include/mitsuba/render/records.inl index 8d598715..8ea670d8 100644 --- a/include/mitsuba/render/records.inl +++ b/include/mitsuba/render/records.inl @@ -23,17 +23,17 @@ MTS_NAMESPACE_BEGIN inline BSDFQueryRecord::BSDFQueryRecord(const Intersection &its, Sampler *sampler, ETransportQuantity quantity) : its(its), sampler(sampler), wi(its.wi), quantity(quantity), - typeMask(BSDF::EAll), sampledType(0), component(-1), sampledComponent(-1) { + typeMask(BSDF::EAll), component(-1), sampledType(0), sampledComponent(-1) { } inline BSDFQueryRecord::BSDFQueryRecord(const Intersection &its, const Vector &wo, ETransportQuantity quantity) : its(its), sampler(NULL), wi(its.wi), wo(wo), quantity(quantity), - typeMask(BSDF::EAll), sampledType(0), component(-1), sampledComponent(-1) { + typeMask(BSDF::EAll), component(-1), sampledType(0), sampledComponent(-1) { } inline BSDFQueryRecord::BSDFQueryRecord(const Intersection &its, const Vector &wi, const Vector &wo, ETransportQuantity quantity) : its(its), sampler(NULL), wi(wi), wo(wo), quantity(quantity), - typeMask(BSDF::EAll), sampledType(0), component(-1), sampledComponent(-1) { + typeMask(BSDF::EAll), component(-1), sampledType(0), sampledComponent(-1) { } inline bool Intersection::hasSubsurface() const {