Skip to content

Commit 23cf67a

Browse files
committed
Fixed rebase for latest master
1 parent 849af96 commit 23cf67a

File tree

17 files changed

+184
-143
lines changed

17 files changed

+184
-143
lines changed

include/mitsuba/render/mesh.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ class MI_EXPORT_LIB Mesh : public Shape<Float, Spectrum> {
211211
Float pdf_position_surface(const PositionSample3f &ps, Mask active = true) const override;
212212

213213
DirectionSample3f sample_direction_volume(const Interaction3f &it, const Point3f &sample,
214+
Mask active = true) const override;
214215

215216
std::pair<std::pair<Float, Float>, Float> get_intersection_extents(const Interaction3f &it,
216217
const DirectionSample3f &ds,

include/mitsuba/render/shape.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class MI_EXPORT_LIB Shape : public Object {
283283
* A \ref PositionSample instance describing the generated sample
284284
*/
285285
virtual PositionSample3f sample_position_volume(Float time, const Point3f &sample,
286-
Mask active = true) const;
286+
Mask active = true) const;
287287

288288
/**
289289
* \brief Query the probability density of \ref sample_position_volume() for

src/emitters/tests/test_volumelight.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def test02_eval(variants_vec_spectral, spectrum_key):
8080
@pytest.mark.parametrize("spectrum_key", spectrum_dicts.keys())
8181
def test03_sample_ray(variants_vec_spectral, spectrum_key):
8282
# Check the correctness of the sample_ray() method
83+
84+
8385
shape, spectrum = create_emitter_and_spectrum(spectrum_key)
8486
emitter = shape.emitter()
8587

0 commit comments

Comments
 (0)