comparison Renderer/Engine/Camera.cc @ 909:2683838396c6

fix..
author Yutaka_Kinjyo
date Tue, 20 Jul 2010 04:45:36 +0900
parents 000a8b63ad9a
children 6a80ca9a65d9
comparison
equal deleted inserted replaced
908:830bcfbde3bc 909:2683838396c6
145 m_screen = new float[16]; 145 m_screen = new float[16];
146 146
147 this->set_move_collision(camera_move, camera_collision, (void *)sgroot); 147 this->set_move_collision(camera_move, camera_collision, (void *)sgroot);
148 148
149 #if SPE_CREATE_POLYGON 149 #if SPE_CREATE_POLYGON
150
151 sg_matrix = (float*)malloc(sizeof(float)*32);
152 matrix = sg_matrix;
153 real_matrix = sg_matrix + 16;
154 150
155 #endif 151 #endif
156 152
157 for(int i = 0; i < 16; i++) { 153 for(int i = 0; i < 16; i++) {
158 real_matrix[i] = 0; 154 real_matrix[i] = 0;