|
Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "dtoolbase.h"Go to the source code of this file.
Macros | |
| #define | IS_NEARLY_EQUAL(value1, value2) |
| #define | IS_NEARLY_ZERO(value) |
| #define | IS_THRESHOLD_COMPEQ(value1, value2, threshold) |
| #define | IS_THRESHOLD_EQUAL(value1, value2, threshold) |
| #define | IS_THRESHOLD_ZERO(value, threshold) |
| #define | MAYBE_ZERO(value) |
| #define | NEARLY_ZERO(FLOATTYPE) |
Functions | |
| constexpr double | get_nearly_zero_value (double) |
| constexpr float | get_nearly_zero_value (float) |
| constexpr int | get_nearly_zero_value (int) |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file nearly_zero.h.
| #define IS_NEARLY_EQUAL | ( | value1, | |
| value2 ) |
Definition at line 73 of file nearly_zero.h.
| #define IS_NEARLY_ZERO | ( | value | ) |
Definition at line 68 of file nearly_zero.h.
| #define IS_THRESHOLD_COMPEQ | ( | value1, | |
| value2, | |||
| threshold ) |
Definition at line 59 of file nearly_zero.h.
| #define IS_THRESHOLD_EQUAL | ( | value1, | |
| value2, | |||
| threshold ) |
Definition at line 52 of file nearly_zero.h.
| #define IS_THRESHOLD_ZERO | ( | value, | |
| threshold ) |
Definition at line 47 of file nearly_zero.h.
| #define MAYBE_ZERO | ( | value | ) |
Definition at line 79 of file nearly_zero.h.
| #define NEARLY_ZERO | ( | FLOATTYPE | ) |
Definition at line 65 of file nearly_zero.h.
|
constexpr |
Definition at line 28 of file nearly_zero.h.
|
constexpr |
Definition at line 33 of file nearly_zero.h.
|
constexpr |
Definition at line 38 of file nearly_zero.h.