projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unlockables basics
[carveJwlIkooP6JGAAIwe30JlM.git]
/
scene.h
diff --git
a/scene.h
b/scene.h
index 027f4bded5c3bd6b8dc9f2b9f1ed038a15b3ab2b..c53c7b3c3c383f8198a1877a3c19965d3fce3c9c 100644
(file)
--- a/
scene.h
+++ b/
scene.h
@@
-110,8
+110,8
@@
VG_STATIC void scene_add_mdl_submesh( scene_context *ctx, mdl_context *mdl,
/* Transform and place vertices */
boxf bbxnew;
/* Transform and place vertices */
boxf bbxnew;
- box_
copy( sm->bbx,
bbxnew );
- m4x3_
transform_aabb( transform, bbxnew
);
+ box_
init_inf(
bbxnew );
+ m4x3_
expand_aabb_aabb( transform, bbxnew, sm->bbx
);
box_concat( ctx->bbx, bbxnew );
m3x3f normal_matrix;
box_concat( ctx->bbx, bbxnew );
m3x3f normal_matrix;