169 } |
169 } |
170 |
170 |
171 AscSceneNode *asc_scene_node_empty(void) { |
171 AscSceneNode *asc_scene_node_empty(void) { |
172 AscSceneNode *node = calloc(1, sizeof(AscSceneNode)); |
172 AscSceneNode *node = calloc(1, sizeof(AscSceneNode)); |
173 node->free_func = (asc_scene_free_func) free; |
173 node->free_func = (asc_scene_free_func) free; |
|
174 node->scale.x = node->scale.y = node->scale.z = 1; |
174 asc_transform_identity(node->transform); |
175 asc_transform_identity(node->transform); |
175 asc_transform_identity(node->world_transform); |
176 asc_transform_identity(node->world_transform); |
176 return node; |
177 return node; |
177 } |
178 } |
178 |
179 |