projects
/
csRadar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed aabb transform func
[csRadar.git]
/
csrMath.h
diff --git
a/csrMath.h
b/csrMath.h
index 31891f8cd682758faa0c897a6eb758f4f5584c2a..c14234fe6f9da4a44d0278b8cfff498ffc2be8a9 100644
(file)
--- a/
csrMath.h
+++ b/
csrMath.h
@@
-408,6
+408,8
@@
void m4x3_transform_aabb( m4x3f m, boxf box )
v3_copy( box[0], a );
v3_copy( box[1], b );
+ v3_fill( box[0], INFINITY );
+ v3_fill( box[1], -INFINITY );
m4x3_expand_aabb_point( m, box, a );
m4x3_expand_aabb_point( m, box, (v3f){ a[0], b[1], a[2] } );