# HG changeset patch # User koba # Date 1293527465 -32400 # Node ID 1ef561eb1ef5ba4b2de46fdf39efedd46eea07ce # Parent 185f025f7ce53e82e17af8d141d47b0395f255a3 scale_matrix fix. diff -r 185f025f7ce5 -r 1ef561eb1ef5 Renderer/Engine/matrix_calc.cc --- 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