Mercurial > hg > Members > kono > Cerium
diff TaskManager/Test/test_render/Camera.cpp @ 215:7ca6a2ef5be9
fix SceneGraph Constructor, Destructor
author | gongo@gendarme.local |
---|---|
date | Sun, 01 Feb 2009 22:14:44 +0900 |
parents | fe2cc32cd94d |
children | 0f1ff7b06157 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/Camera.cpp Sun Feb 01 20:46:39 2009 +0900 +++ b/TaskManager/Test/test_render/Camera.cpp Sun Feb 01 22:14:44 2009 +0900 @@ -174,12 +174,14 @@ outerProduct(cy, cz, cx); // view tansform - //createViewTransformMatrix(view, cx, cy, cz); - //createPerspectiveTransformMatrix(pers, (float)w/(float)h); - //createScreenTransformMatrix(screen, (float)w, (float)h); +#if 1 + createViewTransformMatrix(view, cx, cy, cz); + createPerspectiveTransformMatrix(pers, (float)w/(float)h); + createScreenTransformMatrix(screen, (float)w, (float)h); - //matrix4x4(tmp, view, pers); - //matrix4x4(matrix, tmp, screen); - + matrix4x4(tmp, view, pers); + matrix4x4(matrix, tmp, screen); +#else get_matrix(matrix, angle, xyz, NULL); +#endif }