Updated copyright year in all headers
This commit is contained in:
parent
6b3cd13c8d
commit
fdaa2920eb
1109 changed files with 3362 additions and 3362 deletions
|
|
@ -5,7 +5,7 @@
|
|||
/* GODOT ENGINE */
|
||||
/* http://www.godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2007-2015 Juan Linietsky, Ariel Manzur. */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
|
|
@ -26,35 +26,35 @@
|
|||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#ifndef MATH_DEFS_H
|
||||
#define MATH_DEFS_H
|
||||
|
||||
#define CMP_EPSILON 0.00001
|
||||
#define CMP_EPSILON2 (CMP_EPSILON*CMP_EPSILON)
|
||||
#define CMP_NORMALIZE_TOLERANCE 0.000001
|
||||
#define CMP_POINT_IN_PLANE_EPSILON 0.00001
|
||||
|
||||
/**
|
||||
* "Real" is a type that will be translated to either floats or fixed depending
|
||||
* on the compilation setting
|
||||
*/
|
||||
|
||||
enum ClockDirection {
|
||||
|
||||
CLOCKWISE,
|
||||
COUNTERCLOCKWISE
|
||||
};
|
||||
|
||||
|
||||
#ifdef REAL_T_IS_DOUBLE
|
||||
|
||||
typedef double real_t;
|
||||
|
||||
#else
|
||||
|
||||
typedef float real_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif // MATH_DEFS_H
|
||||
#ifndef MATH_DEFS_H
|
||||
#define MATH_DEFS_H
|
||||
|
||||
#define CMP_EPSILON 0.00001
|
||||
#define CMP_EPSILON2 (CMP_EPSILON*CMP_EPSILON)
|
||||
#define CMP_NORMALIZE_TOLERANCE 0.000001
|
||||
#define CMP_POINT_IN_PLANE_EPSILON 0.00001
|
||||
|
||||
/**
|
||||
* "Real" is a type that will be translated to either floats or fixed depending
|
||||
* on the compilation setting
|
||||
*/
|
||||
|
||||
enum ClockDirection {
|
||||
|
||||
CLOCKWISE,
|
||||
COUNTERCLOCKWISE
|
||||
};
|
||||
|
||||
|
||||
#ifdef REAL_T_IS_DOUBLE
|
||||
|
||||
typedef double real_t;
|
||||
|
||||
#else
|
||||
|
||||
typedef float real_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif // MATH_DEFS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue