Commit Graph

7 Commits

Author SHA1 Message Date
Vladimir Perminov 105bac2d55 Optimize Vec3
small function Vec3 move to Vec3.inl
Added:
add(float xx, float yy, float zz);
setZero();

Change all code:
_vec3 = Vec3(x, y, z);   ->   _vec3.set(x, y, z);
Vec3 vec3 = Vec3(x, y, z);   ->  Vec3 vec3(x, y, z);
_vec3 += Vec3(x, y, z);   ->   _vec3.add(x, y, z);
_vec3 = Vec3::ZERO;   ->   _vec3.setZero();
2015-04-05 13:09:50 +03:00
lvlong 48f2bbb1d1 merge new code 2014-10-23 13:53:23 +08:00
lvlong 622df56614 fix OBB intersects bug 2014-10-21 17:22:42 +08:00
lvlong dbf58b8873 modify function name and add default to switch block. 2014-08-14 13:15:37 +08:00
lvlong f191bebe72 optimize Sprite3D get aabb. 2014-08-12 13:45:06 +08:00
lvlong c592ac4248 for pull request modify!! 2014-08-11 10:40:34 +08:00
yangxiao 813e954f4e aabb, obb 2014-08-08 00:00:58 +08:00