Mercurial > hg > Game > Cerium
changeset 1098:1ef561eb1ef5 draft
scale_matrix fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 28 Dec 2010 18:11:05 +0900 |
parents | 185f025f7ce5 |
children | a1c5d7c51db0 |
files | Renderer/Engine/matrix_calc.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/matrix_calc.cc Sat Dec 25 23:12:18 2010 +0900 +++ b/Renderer/Engine/matrix_calc.cc Tue Dec 28 18:11:05 2010 +0900 @@ -157,7 +157,7 @@ { float xyz2[16] = { scale[0], 0, 0, scale[0]*(-c_xyz[0]) + c_xyz[0], - 0, scale[1], 1, scale[1]*(-c_xyz[1]) + c_xyz[1], + 0, scale[1], 0, scale[1]*(-c_xyz[1]) + c_xyz[1], 0, 0, scale[2], scale[2]*(-c_xyz[2]) + c_xyz[2], 0, 0, 0, 1