axmol/cocos/math
Vladimir Perminov 4c33050536 Optimize Vec2
small function Vec2 move to Vec2.inl
Added:
setZero();

Change all code:
_vec2 = Vec2(x, y); -> _vec2.set(x, y);
Vec2 vec2 = Vec2(x, y); -> Vec2 vec2(x, y);
_vec2 += Vec2(x, y); -> _vec2.add(x, y);
_vec2 = Vec2::ZERO; -> _vec2.setZero();
Vec2 vec2(Vec2::ZERO); -> Vec2 vec2;
2015-04-19 20:40:52 +03:00
..
CCAffineTransform.cpp Squashed commit of the following: 2014-05-14 10:07:09 -07:00
CCAffineTransform.h [ci skip]add group base to files in math folder 2015-03-27 11:34:52 +08:00
CCGeometry.cpp Implement Rect::intersectsCircle 2015-04-13 23:16:06 +09:00
CCGeometry.h Implement Rect::intersectsCircle 2015-04-13 23:16:06 +09:00
CCMath.h Add new line at the end of a file to *.h 2014-06-19 20:45:49 +09:00
CCMathBase.h [ci skip]add group base to files in math folder 2015-03-27 11:34:52 +08:00
CCVertex.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
CCVertex.h [ci skip]add group base to files in math folder 2015-03-27 11:34:52 +08:00
CMakeLists.txt Multi platform cmake support 2014-10-03 23:21:45 +01:00
Mat4.cpp performance improvement 2014-12-04 18:37:57 +08:00
Mat4.h [ci skip]Update comments. 2015-03-27 18:26:14 +08:00
Mat4.inl Squashed commit of the following: 2014-05-16 14:36:00 -07:00
MathUtil.cpp Adding linear interpolation convenient method in MathUtils. 2015-04-16 15:17:25 +02:00
MathUtil.h Adding linear interpolation convenient method in MathUtils. 2015-04-16 15:17:25 +02:00
MathUtil.inl enable neon on IOS and refactor code 2014-09-24 16:12:47 +08:00
MathUtilNeon.inl enable neon on IOS and refactor code 2014-09-24 16:12:47 +08:00
MathUtilNeon64.inl Update MathUtilNeon64.inl 2014-11-25 10:33:16 +08:00
MathUtilSSE.inl enable neon on IOS and refactor code 2014-09-24 16:12:47 +08:00
Quaternion.cpp add Quaternion::ZERO 2014-07-31 18:36:30 +08:00
Quaternion.h [ci skip]add group base to files in math folder 2015-03-27 11:34:52 +08:00
Quaternion.inl modify by colleague for cocostudio. 2015-01-16 13:23:03 +08:00
TransformUtils.cpp Squashed commit of the following: 2014-04-30 19:09:13 -07:00
TransformUtils.h [ci skip]add group base to files in math folder 2015-03-27 11:34:52 +08:00
Vec2.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
Vec2.h Optimize Vec2 2015-04-19 20:40:52 +03:00
Vec2.inl Optimize Vec2 2015-04-19 20:40:52 +03:00
Vec3.cpp Optimize Vec3 2015-04-05 13:09:50 +03:00
Vec3.h Adding Lerp for Vec3 2015-04-16 14:43:12 +02:00
Vec3.inl Adding Lerp for Vec3 2015-04-16 14:43:12 +02:00
Vec4.cpp Squashed commit of the following: 2014-05-16 14:36:00 -07:00
Vec4.h [ci skip]add group base to files in math folder 2015-03-27 11:34:52 +08:00
Vec4.inl Squashed commit of the following: 2014-05-16 14:36:00 -07:00