Initial commit
This commit is contained in:
41
Torque/SDK/engine/math/mTrig.h
Normal file
41
Torque/SDK/engine/math/mTrig.h
Normal file
@@ -0,0 +1,41 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef _MTRIG_H_
|
||||
#define _MTRIG_H_
|
||||
|
||||
#ifndef _PLATFORM_H_
|
||||
#include "platform/platform.h"
|
||||
#endif
|
||||
#ifndef _MMATHFN_H_
|
||||
#include "math/mMathFn.h"
|
||||
#endif
|
||||
|
||||
//-------------------------------------- External assembly helpers...
|
||||
//
|
||||
//#ifdef WIN32
|
||||
//
|
||||
//extern "C" {
|
||||
// F32 m_reduceAngle_asm(const F32*);
|
||||
//}
|
||||
//
|
||||
//inline F32
|
||||
//m_reduceAngle(const F32 in_angle)
|
||||
//{
|
||||
// F32 initial = m_reduceAngle_asm(&in_angle);
|
||||
// if (initial < 0.0)
|
||||
// initial += Float_2Pi;
|
||||
// return initial;
|
||||
//}
|
||||
//
|
||||
//#else
|
||||
//
|
||||
//F32 m_reduceAngle(const F32 in_angle);
|
||||
//
|
||||
//#endif
|
||||
|
||||
|
||||
|
||||
#endif //_TRIG_H_
|
||||
Reference in New Issue
Block a user