Welcome to mirror list, hosted at ThFree Co, Russian Federation.

vcpp_config.h « carve « include « carve « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5ebd4006159ee5e4902786c6fc07dccae4332cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* include/carve/config.h.  Generated from config.h.in by configure.  */
#pragma once

#include <math.h>

/* Define if using boost collections. Preferred, because the visual C++ unordered collections are slow and memory hungry. */
#define HAVE_BOOST_UNORDERED_COLLECTIONS 

#if defined(_MSC_VER)
#  pragma warning(disable:4201)
#endif

#include <math.h>

static inline double round(double value) {
  return (value >= 0) ? floor(value + 0.5) : ceil(value - 0.5);
}