01 2010 档案

类型转化:float -> DWORD
摘要:#include<iostream>#include<windows.h>using namespace std;int main(void){float f = 1.1 ;DWORD d1 = (DWORD)f ;DWORD d2 = *(DWORD *)&f ;cout << d1 << endl ; // output: 1cout &... 阅读全文

posted @ 2010-01-22 11:57 前端风云志 阅读(1570) 评论(0) 推荐(0)

Drill into View Matrix
摘要:How does DirectXbuild the view matrix -From MSDND3DXMatrixLookAtLHBuilds a left-handed, look-at matrix.D3DXMATRIX * D3DXMatrixLookAtLH( D3DXMATRIX * pOut, CONST D3DXVECTOR3 * pEye, CONST D3DXVECTOR... 阅读全文

posted @ 2010-01-20 22:14 前端风云志 阅读(526) 评论(0) 推荐(0)

导航

关注我

前端风云志