Martin Taylor
62e36e8006
fix typos and syntax error. A thorough check by tool VSSpellChecker.
2015-09-22 16:08:23 +08:00
WuHao
0a51c9bd27
Finished AutoPolygon and Sprite
2015-06-04 15:43:31 +08:00
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
Milos Jakovljevic
a33d775b51
Adding linear interpolation convenient method in MathUtils.
2015-04-16 15:17:25 +02:00
Milos Jakovljevic
b3ee529a8c
Adding Lerp for Vec3
2015-04-16 14:43:12 +02:00
giginet
2a0524322e
Implement Rect::intersectsCircle
...
This method checks the intersect status between the rect and a circle.
2015-04-13 23:16:06 +09:00
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
Wenhai Lin
ff3777dfd1
[ci skip]Update comments.
2015-03-27 18:26:14 +08:00
Huabing.Xu
6cb99312ee
[ci skip]add group base to files in math folder
2015-03-27 11:34:52 +08:00
Huabing.Xu
b22f92635f
[ci skip]fix warning for doxygen
2015-03-27 11:20:50 +08:00
Huabing.Xu
63a65b1dd1
[ci skip]update comments CCAffineTransform.h
2015-03-24 23:29:41 +08:00
Huabing.Xu
b84c1f2c2c
[ci skip]update comments CCGeometry.h
2015-03-24 21:33:55 +08:00
Huabing.Xu
9923a0b575
[ci skip]update comments Mat4.h, MathUtil.h, Quaternion.h
2015-03-24 19:27:13 +08:00
Huabing.Xu
92b110ce25
[ci skip]update comments Vec2/3/4.h TransformUtils.h
2015-03-23 21:49:36 +08:00
Huabing.Xu
126186e413
[ci skip]update comments CCMathBase.h CCGLProgramState.h CCRenderer.h
2015-03-23 20:30:37 +08:00
lvlong
fc0c4bae7a
modify by colleague for cocostudio.
2015-01-16 13:23:03 +08:00
Huabing.Xu
27ff06b1d2
performance improvement
2014-12-04 18:37:57 +08:00
wangqm0513
a6128d7506
Update MathUtilNeon64.inl
...
Rewrite CrossVec3 function code
2014-11-25 10:33:16 +08:00
James Chen
126f9eaff1
The fix for recognizing android arm64 device and using NEON64 for android arm64 device.
2014-11-25 10:33:15 +08:00
wangqm0513
e8d24cb49b
Update MathUtilNeon64.inl
...
add arm64bit neon support
2014-11-12 14:15:29 +08:00
Sven Steinbauer
c9f5eacc2e
Add greater than operator to Vec2
2014-10-24 20:27:06 +01:00
martell
30240a8a37
Multi platform cmake support
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:21:45 +01:00
Huabing.Xu
ed9848a782
neon works on android(only on armeabi-v7a)
2014-09-25 16:09:28 +08:00
Huabing.Xu
ab19c81371
add neon64 implementation
2014-09-25 10:53:44 +08:00
Huabing.Xu
a897f23023
refactor neon code
2014-09-25 10:46:25 +08:00
Huabing.Xu
cc39ed288a
android can link with neon(neon code has some bugs)
2014-09-24 17:21:38 +08:00
Huabing.Xu
2a75b7192a
enable neon on IOS and refactor code
2014-09-24 16:12:47 +08:00
Huabing.Xu
e1d11ae5c3
move sse code to mathUtil.cpp
2014-09-24 11:06:07 +08:00
Huabing.Xu
b18e0501fc
move code to mathUtil.cp
2014-09-24 10:32:29 +08:00
Huabing.Xu
e74b2f3164
add macro to enable neon on IOS
2014-09-23 18:15:26 +08:00
SunLightJuly
ff776d813b
added Node::getCascadeBoundingBox()
2014-09-18 13:11:10 +08:00
minggo
a5855baac4
Merge pull request #7976 from samuele3hu/v3_check_mat
...
Added Math SSE implementation on x86 and update bindings-generator submodule
2014-09-11 14:47:39 +08:00
Ricardo Quesada
6f3ca63f00
Moved base/CCPlatform* -> platform/CCPlatform*
2014-09-09 17:17:07 -07:00
Ricardo Quesada
9082ca18c3
Platform fixed
2014-09-09 16:50:02 -07:00
Ricardo Quesada
0ead7b6307
Squashed commit of the following:
...
commit b9181ae92541d11119bedd766773ddb01f0bb486
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Sep 9 09:34:40 2014 -0700
Compiles luasocket on Mac
commit 91fc79aa2101867fedfbcd7d846e9508009894e6
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Sep 9 09:12:30 2014 -0700
disables luasockets
commit 31f2ee462708ab7b604b9399eaabd275e2da9e02
Merge: 19099fd 0abe4cb
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Tue Sep 9 08:10:48 2014 -0700
Merge remote-tracking branch 'cocos2d/v3' into cmakefile_mac_osx
Conflicts:
cocos/3d/cocos3d.h
commit 19099fd021b4ecf1f2eebd73ea14e84572d1ee33
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 23:21:03 2014 -0700
compiles on Linux
commit eec7b92817ac9208123468bb882612aad89f94bf
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 23:16:46 2014 -0700
all projecs compiles with CMake
commit 40fcc8325b409a580fdbf26d2ee27aa2d1db0109
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 21:47:27 2014 -0700
CCUserDefualt.mm better includes
commit 30709ec8243562858498cb118240bb45bf9b33b0
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 21:26:36 2014 -0700
cpp-tests compiles and works on Mac using CMake
commit 67f0fc8df887d08d3d7a27c5fdadd335d6841676
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 20:12:09 2014 -0700
Adds missing files to CMakeLists.txt
commit 36f939ea7f157ca851aee138300c13d9888c0078
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 19:52:34 2014 -0700
Adds more box2d missing files
commit 00f81e3b5ec97150974cc6022e86c394ff488ccb
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 19:39:54 2014 -0700
Adds missing box2d files
commit 9673227b4d7d0e6d9eced49bdd69b98cb519968a
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date: Mon Sep 8 18:44:15 2014 -0700
Initial CMake support for Mac
2014-09-09 12:18:31 -07:00
samuele3hu
8c0f8e1eb6
Reset marco limited to `#ifdef __SSE__`
2014-09-09 23:01:37 +08:00
samuele3hu
3151c54879
Update macro define limited
2014-09-09 19:08:01 +08:00
sunzhuoshi
66070868f7
Added Math SSE implementation on x86
2014-09-08 20:58:59 +08:00
Ricardo Quesada
2c068cd1f5
Merge pull request #7915 from ricardoquesada/xcode_mark_todo_fixme
...
Adds MARK: TODO: FIXME: in code
2014-08-29 12:55:14 -07:00
Ricardo Quesada
c149bfca00
Adds MARK: TODO: FIXME: in code
...
Replaces XXX with FIXME:
Xcode 6 beta 4 supports this new format
2014-08-29 12:54:24 -07:00
minggo
3679d66c8e
remove unneeded includes
2014-08-29 15:39:52 +08:00
Dmitry Bushtets
1257f642c7
- added export to dll for: ZipFile, CGAffineToGL, GLToCGAffine, XXH32 (in .def file)
2014-08-15 13:20:37 +03:00
yangxiao
ca0afcfa92
add Quaternion::ZERO
2014-07-31 18:36:30 +08:00
Huabing.Xu
4b059689d3
add CC_DLL for functions
2014-07-15 11:18:05 +08:00
Huabing.Xu
09a75f73cf
add CC_DLL in math folder
2014-07-14 16:40:54 +08:00
Huabing.Xu
60dd7a4514
Merge branch 'v3' into v3_dll
2014-07-11 11:10:26 +08:00
Huabing.Xu
f5cffba6c9
change pure virtual function to virtual function in action series
...
remove unimplemented function to deprecated and give an empty implementation
add CC_DLL to Vec2
2014-07-11 10:19:49 +08:00
Dhilan007
6cff8cb564
fixed warn and replace NULL with nullptr.
2014-07-10 00:45:27 +08:00
gin0606
3ae8e29ce5
Add new line at the end of a file to *.h
2014-06-19 20:45:49 +09:00
Ricardo Quesada
2ab70ca39b
Point is no longer deprecated
...
As discussed on the forums:
- Point must not be deprecated (not it must not be used internally)
- Point2, Point3, must not be used. Use Vec2, Vec3 instead
2014-05-18 15:12:48 -07:00