Physx SDK 3.2.3(2)


Physx SDK3.2.3是较新的SDK
资源截图
代码片段和文件信息
// This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation and
// any modifications thereto. Any use reproduction disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA Corporation is strictly prohibited.
//
// ALL NVIDIA DESIGN SPECIFICATIONS CODE ARE PROVIDED “AS IS.“. NVIDIA MAKES
// NO WARRANTIES EXPRESSED IMPLIED STATUTORY OR OTHERWISE WITH RESPECT TO
// THE MATERIALS AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// Information and code furnished is believed to be accurate and reliable.
// However NVIDIA Corporation assumes no responsibility for the consequences of use of such
// information or for any infringement of patents or other rights of third parties that may
// result from its use. No license is granted by implication or otherwise under any patent
// or patent rights of NVIDIA Corporation. Details are subject to change without notice.
// This code supersedes and replaces all information previously supplied.
// NVIDIA Corporation products are not authorized for use as critical
// components in life support devices or systems without express written approval of
// NVIDIA Corporation.
//
// Copyright (c) 2008-2013 NVIDIA Corporation. All rights reserved.
// Copyright (c) 2004-2008 AGEIA Technologies Inc. All rights reserved.
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  

#include 
#include 
#include 
#include “PxTkBmpLoader.h“
#include “PsFile.h“

using namespace PxToolkit;

#define MAKETWOCC(ab) ( ((char)a) | (((char)b)<< 8) ) 

static bool isBigEndian() { int i = 1; return *((char*)&i)==0; }

static unsigned short endianSwap(unsigned short nValue)
{
   return (((nValue>> 8)) | (nValue << 8));

}

static unsigned int endianSwap(unsigned int i)
{
  unsigned char b1 b2 b3 b4;

  b1 = i & 255;
  b2 = ( i >> 8 ) & 255;
  b3 = ( i>>16 ) & 255;
  b4 = ( i>>24 ) & 255;

  return ((unsigned int)b1 << 24) + ((unsigned int)b2 << 16) + ((unsigned int)b3 << 8) + b4;
}

// -------------------------------------------------------------------

#pragma pack(1)

struct BMPHEADER {
unsigned short Type;
unsigned int Size;
unsigned short Reserved1;
unsigned short Reserved2;
unsigned int OffBits;
};

// Only Win3.0 BMPINFO (see later for OS/2)
struct BMPINFO {
unsigned int Size;
unsigned int Width;
unsigned int Height;
unsigned short Planes;
unsigned short BitCount;
unsigned int Compression;
unsigned int SizeImage;
unsigned int XPelsPerMeter;
unsigned int YPelsPerMeter;
unsigned int

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      20550  2013-01-16 19:54  Samplescompilervc10win32publicSamplebase.vcxproj

     文件       6328  2013-01-16 19:54  Samplescompilervc10win32publicSamples.sln

     文件      23014  2013-01-16 19:54  Samplescompilervc10win32publicSamples.vcxproj

     文件      20134  2013-01-16 19:54  Samplescompilervc10win64publicSamplebase.vcxproj

     文件       6120  2013-01-16 19:54  Samplescompilervc10win64publicSamples.sln

     文件      22598  2013-01-16 19:54  Samplescompilervc10win64publicSamples.vcxproj

     文件      16003  2013-01-16 19:54  Samplescompilervc9win32publicSamplebase.vcproj

     文件       6318  2013-01-16 19:54  Samplescompilervc9win32publicSamples.sln

     文件      18955  2013-01-16 19:54  Samplescompilervc9win32publicSamples.vcproj

     文件      15825  2013-01-16 19:54  Samplescompilervc9win64publicSamplebase.vcproj

     文件       6110  2013-01-16 19:54  Samplescompilervc9win64publicSamples.sln

     文件      18777  2013-01-16 19:54  Samplescompilervc9win64publicSamples.vcproj

     文件      14907  2013-01-16 19:54  SamplesPxToolkitcompilervc10win32publicPxToolkit.vcxproj

     文件      14491  2013-01-16 19:54  SamplesPxToolkitcompilervc10win64publicPxToolkit.vcxproj

     文件      11166  2013-01-16 19:54  SamplesPxToolkitcompilervc9win32publicPxToolkit.vcproj

     文件      10988  2013-01-16 19:54  SamplesPxToolkitcompilervc9win64publicPxToolkit.vcproj

     文件       2196  2013-01-16 11:34  SamplesPxToolkitincludePxTkBmpLoader.h

     文件       2307  2013-01-16 11:34  SamplesPxToolkitincludePxTkFPS.h

     文件       2103  2013-01-16 11:34  SamplesPxToolkitincludePxTkMatrixUtils.h

     文件       1989  2013-01-16 11:34  SamplesPxToolkitincludePxTkNamespaceMangle.h

     文件       4458  2013-01-16 11:34  SamplesPxToolkitincludePxTkRandom.h

     文件       2687  2013-01-16 11:34  SamplesPxToolkitincludePxTkRepX.h

     文件       3938  2013-01-16 11:34  SamplesPxToolkitincludePxTkStream.h

     文件       1926  2013-01-16 11:34  SamplesPxToolkitincludePxToolkit.h

     文件       5794  2013-01-16 11:34  SamplesPxToolkitsrcPxTkBmpLoader.cpp

     文件       2445  2013-01-16 11:34  SamplesPxToolkitsrcPxTkFPS.cpp

     文件       2511  2013-01-16 11:34  SamplesPxToolkitsrcPxTkMatrixUtils.cpp

     文件       3640  2013-01-16 11:34  SamplesPxToolkitsrcPxTkRandom.cpp

     文件       3010  2013-01-16 11:34  SamplesPxToolkitsrcPxTkRepX.cpp

     文件       6391  2013-01-16 11:34  SamplesPxToolkitsrcPxTkStream.cpp

............此处省略1118个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)