https://github.com/N-BodyShop/changa
Raw File
Tip revision: 6774d1e625d9e577ced986da2cf91fe384d18073 authored by PPL Gerrit on 02 March 2017, 05:05:56 UTC
Auto-merge of db51e1796ab6ac742dd928406a651b91f273b10d
Tip revision: 6774d1e
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