https://github.com/N-BodyShop/changa
Raw File
Tip revision: 3e8f0d1c2791b910e37c414abb12a28ca72cb4e0 authored by Thomas Quinn on 11 July 2016, 19:10:02 UTC
TreePiece::calculateGravityRemote(): fix bad ifdef.
Tip revision: 3e8f0d1
cosmoType.h
#ifndef __COSMOTYPE_H__
#define __COSMOTYPE_H__

/* #define COSMO_FLOAT */

#ifdef COSMO_FLOAT
#define CONVERT_TO_COSMO_TYPE (float)
typedef float cosmoType;
#define COSMO_CONST(val) val##f
#else
#define CONVERT_TO_COSMO_TYPE
typedef double cosmoType;
#define COSMO_CONST(val) val
#endif

#endif
back to top