2013年3月2日

D3DXVECTOR3

摘要: http://technet.microsoft.com/zh-cn/bb205546Describes a three-component vector including operator overloads and type casts.Syntaxtypedef struct D3DXVECTOR3 { FLOAT x; FLOAT y; FLOAT z;} D3DXVECTOR3, *LPD3DXVECTOR3;MembersxType: FLOATThe x-component.yType: FLOATThe y-component.zType: FLOATThe... 阅读全文

posted @ 2013-03-02 16:24 c_dragon 阅读(1300) 评论(0) 推荐(0) 编辑

D3DXMATRIX

摘要: 在Direct3D中进行3D变换很多时候需要构造一个4*4的矩阵,D3DXMATRIX就用来表示这个矩阵。该类继承自结构体D3DMATRIX(注意二者写法不同,相差一个X)__________________________________________________________________结构体D3DMATRIX的定义(版本DX9):typedef struct _D3DMATRIX { union { struct { float _11, _12, _13, _14; float _2... 阅读全文

posted @ 2013-03-02 16:22 c_dragon 阅读(620) 评论(0) 推荐(0) 编辑

导航