| 1 |
/* |
|---|
| 2 |
Redistribution and use in source and binary forms, with or without |
|---|
| 3 |
modification, are permitted provided that the following conditions |
|---|
| 4 |
are met: |
|---|
| 5 |
|
|---|
| 6 |
Redistributions of source code must retain the above copyright |
|---|
| 7 |
notice, this list of conditions and the following disclaimer. |
|---|
| 8 |
|
|---|
| 9 |
Redistributions in binary form must reproduce the above |
|---|
| 10 |
copyright notice, this list of conditions and the following |
|---|
| 11 |
disclaimer in the documentation and/or other materials provided |
|---|
| 12 |
with the distribution. |
|---|
| 13 |
|
|---|
| 14 |
Neither name of Victor Nakoryakov nor the names of |
|---|
| 15 |
its contributors may be used to endorse or promote products |
|---|
| 16 |
derived from this software without specific prior written |
|---|
| 17 |
permission. |
|---|
| 18 |
|
|---|
| 19 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|---|
| 20 |
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|---|
| 21 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|---|
| 22 |
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|---|
| 23 |
REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|---|
| 24 |
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|---|
| 25 |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|---|
| 26 |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|---|
| 27 |
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
|---|
| 28 |
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|---|
| 29 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
|---|
| 30 |
OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 31 |
|
|---|
| 32 |
Copyright (C) 2006. Victor Nakoryakov. |
|---|
| 33 |
*/ |
|---|
| 34 |
/** |
|---|
| 35 |
Module for helix global configuration. It's like some find of .ini file |
|---|
| 36 |
that should be corrected according to your needs prior to using helix in your |
|---|
| 37 |
project. |
|---|
| 38 |
|
|---|
| 39 |
Authors: |
|---|
| 40 |
Victor Nakoryakov, nail-mail[at]mail.ru |
|---|
| 41 |
*/ |
|---|
| 42 |
module helix.config; |
|---|
| 43 |
|
|---|
| 44 |
/** |
|---|
| 45 |
Defines default internal float type for typenames without explicit type suffixes. |
|---|
| 46 |
E.g. Vector3 will have components of type float_t but Vector3d still will have |
|---|
| 47 |
components of type double, since suffix 'd' explicitly specifies internal type. |
|---|
| 48 |
*/ |
|---|
| 49 |
alias float float_t; |
|---|
| 50 |
|
|---|
| 51 |
/** Values that are passed as defaults to equal function. */ |
|---|
| 52 |
const int defrelprec = 16; |
|---|
| 53 |
const int defabsprec = 16; /// ditto |
|---|