Update Sample_SimpleOpenGL.c

pull/2647/head
Fabien Péan 2019-09-09 22:44:58 +02:00 committed by GitHub
parent 602b0cf0c2
commit 1899aaef6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ void reshape(int width, int height)
} }
/* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */
void get_bounding_box_for_node (const a<C_STRUCT iNode* nd, void get_bounding_box_for_node (const C_STRUCT aiNode* nd,
C_STRUCT aiVector3D* min, C_STRUCT aiVector3D* min,
C_STRUCT aiVector3D* max, C_STRUCT aiVector3D* max,
C_STRUCT aiMatrix4x4* trafo C_STRUCT aiMatrix4x4* trafo
@ -86,7 +86,7 @@ void get_bounding_box_for_node (const a<C_STRUCT iNode* nd,
/* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */
void get_bounding_box(C_STRUCT aiVector3D* min, C_STRUCT aiVector3D* max) void get_bounding_box(C_STRUCT aiVector3D* min, C_STRUCT aiVector3D* max)
{ {
aiMatrix4x4 trafo; C_STRUCT aiMatrix4x4 trafo;
aiIdentityMatrix4(&trafo); aiIdentityMatrix4(&trafo);
min->x = min->y = min->z = 1e10f; min->x = min->y = min->z = 1e10f;