mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 10:54:01 +02:00
added wrapper for streflop
This commit is contained in:
25
source/shared_lib/include/platform/common/math_wrapper.h
Normal file
25
source/shared_lib/include/platform/common/math_wrapper.h
Normal file
@@ -0,0 +1,25 @@
|
||||
// ==============================================================
|
||||
// This file is part of Glest Shared Library (www.glest.org)
|
||||
//
|
||||
// Copyright (C) 2009-2010 Titus Tscharntke (info@titusgames.de) and
|
||||
// Mark Vejvoda (mark_vejvoda@hotmail.com)
|
||||
//
|
||||
// You can redistribute this code and/or modify it under
|
||||
// the terms of the GNU General Public License as published
|
||||
// by the Free Software Foundation; either version 2 of the
|
||||
// License, or (at your option) any later version
|
||||
// ==============================================================
|
||||
#ifndef _SHARED_PLATFORMCOMMON_MATHWRAPPER_H_
|
||||
#define _SHARED_PLATFORMCOMMON_MATHWRAPPER_H_
|
||||
|
||||
#ifdef USE_STREFLOP
|
||||
|
||||
#include "streflop_cond.h"
|
||||
|
||||
#else
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user