[Direct3D] View, Projection, ViewPort Matrix
[주의] 공부 중인 자료이므로, 틀릴 가능성이 많아 참고만 하는 것이 좋다 cMatrix cMatrix::View(cVector3 & vEye, cVector3 & vLookAt, cVector3 & vUp, cVector3& vRight) { cVector3 l = (vLookAt - vEye).Normalize(); cVector3 r = cVector3::Cross(vUp, l).Normalize(); cVector3 u = cVector3::Cross(l, r).Normalize(); cMatrix viewMat(4); viewMat.SetData( r.x,u.x,l.x,0.f, r.y,u.y,l.y,0.f, r.z,u.z,l.z,0.f, -cVector3::Dot(vEye, r),-cVector..