Initial commit
This commit is contained in:
22
Torque/SDK/engine/math/mConstants.h
Normal file
22
Torque/SDK/engine/math/mConstants.h
Normal file
@@ -0,0 +1,22 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef _MCONSTANTS_H_
|
||||
#define _MCONSTANTS_H_
|
||||
|
||||
#define M_PI 3.14159265358979323846
|
||||
#define M_SQRT2 1.41421356237309504880
|
||||
|
||||
#define M_2PI (3.1415926535897932384626433 * 2.0)
|
||||
#define M_SQRTHALF 0.7071067811865475244008443
|
||||
|
||||
#define M_PI_F 3.14159265358979323846f
|
||||
#define M_SQRT2_F 1.41421356237309504880f
|
||||
|
||||
#define M_2PI_F (3.1415926535897932384626433f * 2.0f)
|
||||
#define M_SQRTHALF_F 0.7071067811865475244008443f
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user