- 00000766 Multirobot Plan Generation in a Continuous Domain: Planning by Use of Plan Graph and Avoiding Collisions Among Robots
- 图形学 计算机程序
- adc.c adc for micro controller
- fly 初步实现航班显示
- Day-3 VC project for learning purposes. this program shows example 3 of vc ++ project
- singapore.coastline singapore coastline googleearth
文件名称:01_SimpleLighting
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:155.56kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
//建立并设置世界矩阵
D3DXMATRIX matWorld
D3DXMatrixIdentity( &matWorld )
g_pd3dDevice->SetTransform( D3DTS_WORLD, &matWorld )
//建立并设置观察矩阵
D3DXVECTOR3 vEyePt( 0.0f, 3.0f,-5.0f )
D3DXVECTOR3 vLookatPt( 0.0f, 0.0f, 0.0f )
D3DXVECTOR3 vUpVec( 0.0f, 1.0f, 0.0f )
D3DXMATRIX matView
D3DXMatrixLookAtLH( &matView, &vEyePt, &vLookatPt, &vUpVec )
g_pd3dDevice->SetTransform( D3DTS_VIEW, &matView )
//建立并设置投影矩阵
D3DXMATRIX matProj
D3DXMatrixPerspectiveFovLH( &matProj, D3DX_PI/4, 1.0f, 1.0f, 100.0f )
g_pd3dDevice->SetTransform( D3DTS_PROJECTION, &matProj ) -//Create and set the world matrix D3DXMATRIX matWorld D3DXMatrixIdentity (
相关搜索: D3DXMATRIX
(系统自动生成,下载前可以参看下载内容)
下载文件列表
01_SimpleLighting/SimpleLighting.cpp
01_SimpleLighting/SimpleLighting.exe
01_SimpleLighting/SimpleLighting.jpg
01_SimpleLighting/SimpleLighting.ncb
01_SimpleLighting/SimpleLighting.sln
01_SimpleLighting/SimpleLighting.suo
01_SimpleLighting/SimpleLighting.vcproj
01_SimpleLighting/Debug
01_SimpleLighting
01_SimpleLighting/SimpleLighting.exe
01_SimpleLighting/SimpleLighting.jpg
01_SimpleLighting/SimpleLighting.ncb
01_SimpleLighting/SimpleLighting.sln
01_SimpleLighting/SimpleLighting.suo
01_SimpleLighting/SimpleLighting.vcproj
01_SimpleLighting/Debug
01_SimpleLighting
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
