fixed aabb transform func
[csRadar.git] / vmdl.h
diff --git a/vmdl.h b/vmdl.h
index 59d6acbe8c5288e16858063bd6ee5ed5464fda1c..d6564a3a87dfe4afbb5d1d2eb73d1bb663d51ab8 100644 (file)
--- a/vmdl.h
+++ b/vmdl.h
@@ -523,8 +523,8 @@ int mdl_from_find_files( const char *mdlname, mdl_mesh_t *ctx )
                return 0;
        }
        
-       v3_copy( pMdl->view_bbmin, ctx->bounds[0] );
-       v3_copy( pMdl->view_bbmax, ctx->bounds[1] );
+       v3_copy( pMdl->hull_min, ctx->bounds[0] );
+       v3_copy( pMdl->hull_max, ctx->bounds[1] );
        
        ctx->num_indices = vtx_count_indices( pVtxHdr );