Commit c85342d1 authored by Laurent Belcour's avatar Laurent Belcour

Minor updates

parent 0e165dd4
......@@ -161,7 +161,7 @@ unsigned int timer::current_time() const
return static_cast<unsigned int>(clock() / CLOCKS_PER_SEC);
#else
struct timespec res;
clock_gettime(CLOCK_MONOTONIC, &res);
clock_gettime(CLOCK_REALTIME, &res);
return static_cast<unsigned int>(res.tv_sec);
#endif
}
......@@ -9,6 +9,7 @@ SUBDIRS = \
# rational_fitter_matlab \
# rational_fitter_dca \
rational_function_chebychev \
rational_function_chebychev_opt \
rational_function_legendre \
rational_function_cosine \
nonlinear_fitter_eigen \
......
TEMPLATE = lib
CONFIG *= shared \
plugin \
CONFIG += shared \
eigen \
cgal
CONFIG -= qt
DESTDIR = ../../build
......
......@@ -28,7 +28,9 @@
<output name="./results/3d/retro/half/3M_jaune_rat.brdf" />
<!-- Define the function to use -->
<function name="rational_function_cosine" />
<!--<function name="rational_function_cosine" />-->
<function name="rational_function_chebychev" />
<!--<function name="rational_function_chebychev_opt" />-->
<!-- Define the ftting procedure to use -->
<!--<plugin type="fitter" name="rational_fitter_quadprog" />-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment