---------------------------------------------------------------------------- */
| 118 | |
| 119 | /* ---------------------------------------------------------------------------- */ |
| 120 | void get_bounding_box(C_STRUCT aiVector3D* min, C_STRUCT aiVector3D* max) |
| 121 | { |
| 122 | C_STRUCT aiMatrix4x4 trafo; |
| 123 | aiIdentityMatrix4(&trafo); |
| 124 | |
| 125 | min->x = min->y = min->z = 1e10f; |
| 126 | max->x = max->y = max->z = -1e10f; |
| 127 | get_bounding_box_for_node(scene->mRootNode,min,max,&trafo); |
| 128 | } |
| 129 | |
| 130 | /* ---------------------------------------------------------------------------- */ |
| 131 | void color4_to_float4(const C_STRUCT aiColor4D *c, float f[4]) |
no test coverage detected