bah, i suck

SVN revision: 11868
This commit is contained in:
tsauerbeck 2004-10-13 19:34:04 +00:00 committed by tsauerbeck
parent 159b8d0412
commit bc7980f17b
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ extern "C" {
#define EMBRYO_PROGRAM_FAIL 0
/** Float to Embryo_Cell */
#define EMBRYO_FLOAT_TO_CELL(f) (Embryo_Cell) f
#define EMBRYO_FLOAT_TO_CELL(f) ( *((Embryo_Cell*)&f))
/** Embryo_Cell to float */
#define EMBRYO_CELL_TO_FLOAT(c) (float) c
#define EMBRYO_CELL_TO_FLOAT(c) ( *((float*)&c))
typedef unsigned int Embryo_UCell;
typedef int Embryo_Cell;