comparison ps2util.cc @ 122:5219bf3d5e71

title_draw
author e085768
date Mon, 27 Jun 2011 19:44:46 +0900
parents b6dc70f6aa7e
children 6ef3b0efdeaf
comparison
equal deleted inserted replaced
121:411ba68e9cf8 122:5219bf3d5e71
15 15
16 OBJECT *ps2util_obj_Create_fromXML(const char *filename) 16 OBJECT *ps2util_obj_Create_fromXML(const char *filename)
17 { 17 {
18 OBJECT *body; 18 OBJECT *body;
19 19
20 for( int i = 0; i < 4; i ++ ){
21 body->xyz[i] = 0.0f;
22 body->angle[i] = 0.0f;
23 }
24
25
20 /* 26 /*
21 body->xyz = {0,0,0,0}; 27 body->xyz = {0,0,0,0};
22 body->angle = {0,0,0,0}; 28 body->angle = {0,0,0,0};
23 body->transfer = { {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0} }; 29 body->transfer = { {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0} };
24 body->*name = filename; 30 body->*name = filename;