mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Updated copyright year in all headers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user