leda
391f30a3f3
beauty cmake format, reduce duplicate defines ( #18799 )
...
* reduce cmake module duplicate
* make module use more clear, correct cmake style
* keep default physics option
* delete the modules distributed with cmake
* unify the cmake files format
* use AndroidNdkModules at cmake sys modules
* add cmake comments for win
* update cocos2dx files list, manually
2018-05-02 15:33:01 +08:00
leda
86ea3a8aee
cmake add collect headers list, unify the logic of source add ( #18722 )
...
* fix mistake for ios lua template
* auto select headers depend on sources
* change cmake "cocos_build_app" from macro to function
* fix cmake dll repeat copy
* update travis srcipt
* add header list for cocos lib
* add header list in cmake files
* re-add include dir Classes
* improve template cpp var name
* remove func get_headers_by_sources
* cmake add simulator header list
* make source and header collect more clear
* improve macos app pkg
* improve ios pkg, run failed
* revert the ios pak logic, keep older
* expand var APP_BIN_DIR scope
* fix use sqlite3 error on linux
* fix win32 compile error
* remove multi-add mistake
* try to fix python install issue on travis
* fix js-tests build on android
* uninstall old python in travis
* add travis python print info
* fix command ll to ls -l
* remove useless link
* PYTHON_BIN adapt homebrew python
2018-03-14 13:51:29 +08:00
leeda
18a6d8241d
update Copyright. might need manual fix later ( #18659 )
...
* Copyright use python script updated. might be fix by manual later
* Revert "Copyright use python script updated. might be fix by manual later"
This reverts commit 49e99418e4da1fd02afda448ddeb16210f5e8c71.
* re modify copyright, consider utf-8-sig encoding
* another situation, add Copyright before "Permission is hereby granted"
* Revert "another situation, add Copyright before "Permission is hereby granted""
This reverts commit ee82591d32353c7ce2e146fe51ef447433b47571.
* another situation, add Copyright before Permission is hereby granted
* change "Copyright (c) 2016-2016 Chukong Technologies Inc." to " Copyright (c) 2016 Chukong Technologies Inc."
* script modify copyright, consider is cocos copyright or not
* change "Copyright (c) 2017 Chukong Technologies Inc." to "Copyright (c) 2016 Chukong Technologies Inc."
* manual fix, not fix audio related
* change "2016-2016" to "2016"
2018-01-29 16:25:32 +08:00
CocosRobot
d07794052f
Update license to 2017 ( #17362 )
...
* Typo: CopyRight -> Copyright
* Copyright update: chukong-inc.com -> Chukong Technologies Inc.
* [js files] Copyright update: 2014 -> 2014-2017
* [cpp files] Copyright update: 2014 -> 2014-2017
* Copyright update: 2015 -> 2015-2017
* [js files] Copyright update: 2014 -> 2014-2017
* Copyright update: 2016 -> 2016-2017
* Copyright update: 2013 -> 2013-2017
* Copyright update: 201?-201? -> 201?-2017
* License year fixes.
* Liscene year fix in CCRay.cpp
* Updates license years in CCGLProgramState.h & CCGLProgramStateCache.h
2017-02-14 14:36:57 +08:00
niu2x
ce4685c64f
vec4 operator < seems error ( #17072 )
...
* bug fix
* Vec4 operator <
2016-12-29 15:26:25 +08:00
mogemimi
ccc141fc99
Remove unnecessary const return qualifiers ( #16671 )
2016-10-11 09:33:05 +08:00
mogemimi
63b3043dc0
Remove extra semicolon after member function definition ( #16595 )
2016-09-20 14:43:48 +08:00
James Chen
b135d512d2
Update copyright to 2016. ( #16311 )
2016-08-05 09:42:15 +08:00
mogemimi
bf35e0f6b5
Avoid overhead of casting between float and double
2016-07-28 06:49:41 +09:00
mogemimi
6ce7f3c0e9
Avoid overhead of casting float to double
2016-07-07 01:38:27 +09:00
Xpol Wan
90456d29ba
Fixes 1605 include path in 541 files
...
using the tools/coding-style/include-linter.py with -f options.
2016-03-20 21:53:44 +08:00
NamJunHyone
98cbc6c359
remove unnecessary scope operator
2016-03-14 18:33:58 +09:00
mogemimi
f280a31323
Fix typo in documentation and comments
2015-12-09 01:48:24 +09:00
mogemimi
be213bf306
Fix typos in documentation
2015-12-03 21:03:00 +09:00
mogemimi
a31cce9a80
Fix minor grammar and typo in documentation
2015-11-04 17:14:00 +09:00
남준현
f47f4aa00e
Simple merge() version
2015-10-17 04:59:07 +09:00
남준현
5118a31faf
// cross pro'c'uct of 2 vector. A->B X C->D
...
// cross pro'd'uct of 2 vector. A->B X C->D
2015-10-16 03:24:54 +09:00
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