资源简介
源代码
代码片段和文件信息
/*
#include // for XMVerifyCPUSupport
#include
#include
#include
using namespace std;
using namespace DirectX;
using namespace DirectX::PackedVector;
// Overload the “<<“ operators so that we can use cout to
// output XMVECTOR objects.
ostream& XM_CALLCONV operator<<(ostream& os FXMVECTOR v)
{
XMFLOAT3 dest;
XMStoreFloat3(&dest v);
os << “(“ << dest.x << “ “ << dest.y << “ “ << dest.z << “)“;
return os;
}
int main()
{
cout.setf(ios_base::boolalpha);
// Check support for SSE2 (Pentium4 AMD K8 and above).
if (!XMVerifyCPUSupport())
{
cout << “directx math not supported“ << endl;
return 0;
}
XMVECTOR p = XMVectorZero();
XMVECTOR q = XMVectorSplatOne();
XMVECTOR u = XMVectorSet(1.0f 2.0f 3.0f 0.0f);
XMVECTOR v = XMVectorReplicate(-2.0f);
XMVECTOR w = XMVectorSplatZ(u);
cout << “p = “ << p << endl;
cout << “q = “ << q << endl;
cout << “u = “ << u << endl;
cout << “v = “ << v << endl;
cout << “w = “ << w << endl;
return 0;
}
*/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-11-12 21:53 d3d12book-master\
文件 378 2016-11-12 21:53 d3d12book-master\.gitattributes
文件 649 2016-11-12 21:53 d3d12book-master\.gitignore
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\.vs\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\.vs\XMVECTOR\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\.vs\XMVECTOR\v14\
文件 27648 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\.vs\XMVECTOR\v14\.suo
文件 1120 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\InitFunctions.cpp
文件 2021 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\VectorOps.cpp
文件 1315 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\XMVECTOR.sln
文件 26112 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\XMVECTOR.v12.suo
文件 7478 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\XMVECTOR.vcxproj
文件 1214 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\XMVECTOR.vcxproj.filters
文件 912 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\tol.cpp
文件 2783 2016-11-12 21:53 d3d12book-master\Chapter 1 Vector Algebra\XMVECTOR\xmvec3.cpp
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\.vs\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\.vs\BlendDemo\
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\.vs\BlendDemo\v14\
文件 59904 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\.vs\BlendDemo\v14\.suo
文件 38119 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\BlendApp.cpp
文件 1271 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\BlendDemo.sln
文件 8092 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\BlendDemo.vcxproj
文件 2826 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\BlendDemo.vcxproj.filters
文件 771 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\fr
文件 3012 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\fr
目录 0 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\Shaders\
文件 4302 2016-11-12 21:53 d3d12book-master\Chapter 10 Blending\BlendDemo\Shaders\Default.hlsl
............此处省略567个文件信息
相关资源
- 外星人入侵(alien_invasion).zip
- AI坦克大战
- a course in game theory 影印版
- GameAssassin
- Introduction to 3D Game Programming with Dir
- pygame-1.9.6-cp38-cp38-win_amd64
- 3d_game_programming_with_DirectX11.rar
- 游戏设计艺术 第二版 The Art of Game D
- 2DGameplayTutorialProject.zip
- 游戏编程模式 Game.Programming.Patterns 英
- Mastering Unity 2D Game Development - Second E
- Godot Engine Game Development Projects
- pygame做的成语猜字游戏
- Unity 2017 Game Development Essentials(3rd)
- Game Engine Gems Volume 1 ~ 3合集&代码Part
- pygame-飞机大战.py
- AI for Games 3rd Edition
- unity—五子棋源码
-
me
tal by Tutorials: Beginning game engine d - Game Coding Complete-中文版、英文版、源
- Introduction to 3D Game Programming with Direc
- 游戏编程精粹8--随书光盘源代码(p
- Unity游戏设计与实现.pdf (完整高清版
- Unity演示效果的机器人程序
- Game Engine Gems Volume 1 ~ 3合集&代码Part
- Game Engine Gems Volume 1 ~ 3合集&代码Part
- 保卫萝卜全图片素材 + 音效
- 游戏脚本高级编程 高清珍藏版PDF带书
- 3D Game Engine Design - A Practical Approach T
- Pygame游戏源代码:俄罗斯方块
评论
共有 条评论