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