windows compilation fixes, part 3
parent
d41876fc4f
commit
a057677e89
|
@ -3092,9 +3092,9 @@ template <typename Derived> void GenericKDTree<Derived>::findCosts(
|
|||
nIntersections++;
|
||||
if (i > warmup) {
|
||||
A[idx].x = 1;
|
||||
A[idx].y = boost::get<1>(statistics);
|
||||
A[idx].z = boost::get<2>(statistics);
|
||||
b[idx] = boost::get<3>(statistics);
|
||||
A[idx].y = (Float) boost::get<1>(statistics);
|
||||
A[idx].z = (Float) boost::get<2>(statistics);
|
||||
b[idx] = (Float) boost::get<3>(statistics);
|
||||
idx++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ MTS_NAMESPACE_BEGIN
|
|||
*
|
||||
* \sa GenericKDTree
|
||||
*/
|
||||
class KDTree : public GenericKDTree<KDTree> {
|
||||
class MTS_EXPORT_RENDER KDTree : public GenericKDTree<KDTree> {
|
||||
friend class GenericKDTree<KDTree>;
|
||||
public:
|
||||
/// Create an empty kd-tree
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <mitsuba/core/plugin.h>
|
||||
#include <mitsuba/core/statistics.h>
|
||||
#if defined(WIN32)
|
||||
#include "../mitsuba/getopt.h"
|
||||
#include <mitsuba/core/getopt.h>
|
||||
#endif
|
||||
|
||||
XERCES_CPP_NAMESPACE_USE
|
||||
|
|
Loading…
Reference in New Issue