Fix light tree header file included while feature disabled

This commit is contained in:
Weizhen Huang 2022-12-07 14:45:17 +01:00
parent f8ddf16e5a
commit 4d05a000cb
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@
#include "kernel/light/distribution.h"
#include "kernel/light/light.h"
#include "kernel/light/tree.h"
#ifdef __LIGHT_TREE__
# include "kernel/light/tree.h"
#endif
#include "kernel/sample/mapping.h"
#include "kernel/sample/mis.h"