Macros | Typedefs | Functions
PxSimpleTypes.h File Reference
#include "foundation/PxPreprocessor.h"
#include "foundation/Px.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PX_MAX_I8   127
 
#define PX_MIN_I8   (-128)
 
#define PX_MAX_U8   255U
 
#define PX_MIN_U8   0
 
#define PX_MAX_I16   32767
 
#define PX_MIN_I16   (-32768)
 
#define PX_MAX_U16   65535U
 
#define PX_MIN_U16   0
 
#define PX_MAX_I32   2147483647
 
#define PX_MIN_I32   (-2147483647 - 1)
 
#define PX_MAX_U32   4294967295U
 
#define PX_MIN_U32   0
 
#define PX_MAX_F32   3.4028234663852885981170418348452e+38F
 
#define PX_MAX_F64   DBL_MAX
 
#define PX_EPS_F32   FLT_EPSILON
 
#define PX_EPS_F64   DBL_EPSILON
 
#define PX_MAX_REAL   PX_MAX_F32
 
#define PX_EPS_REAL   PX_EPS_F32
 
#define PX_NORMALIZATION_EPSILON   PxReal(1e-20f)
 

Typedefs

typedef signed __int64 PxI64
 
typedef signed int PxI32
 
typedef signed short PxI16
 
typedef signed char PxI8
 
typedef unsigned __int64 PxU64
 
typedef unsigned int PxU32
 
typedef unsigned short PxU16
 
typedef unsigned char PxU8
 
typedef float PxF32
 
typedef double PxF64
 
typedef PxF32 PxReal
 

Functions

 PX_COMPILE_TIME_ASSERT (sizeof(PxI8)==1)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxU8)==1)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxI16)==2)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxU16)==2)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxI32)==4)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxU32)==4)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxI64)==8)
 
 PX_COMPILE_TIME_ASSERT (sizeof(PxU64)==8)
 


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com