Commit Graph

438 Commits

Author SHA1 Message Date
cpascal 74ba46f225 Fixed "warning: bundle reader out of range"
This warning was displayed even if it's valid c3b file..
Changed "validLength <= needLength" to "validLength < needLength".
2014-11-09 07:38:44 +09:00
minggo 25053b80bc Merge pull request #8930 from super626/fixsprite
add Sprite3D::getMeshArrayByName and refactor re-skin test
2014-11-05 18:11:51 +08:00
minggo 8a49ae0b07 Merge pull request #8981 from vovkasm/clean-order-of-fields-initialization
Cleanup order of fields initialization.
2014-11-05 17:51:58 +08:00
Vladimir Timofeev 2835b094da Cleanup order of fields initialization.
Make initialization order to match declarations.
This change twice reduces number of warnings when compiling on MacOS X with Xcode 6.1
Warnings was like "Field 'XXXX' will be initialized after field 'YYYY'"
2014-10-30 17:28:41 +03:00
yangxiao 77aebb657d merge cocos 2014-10-30 11:56:20 +08:00
yangxiao 7656ff2f0e fix wrong vertex buffer size 2014-10-27 13:59:40 +08:00
yangxiao 0696041ea9 add getMeshArrayByName method 2014-10-25 12:27:03 +08:00
yangxiao 4d08a08809 add getMeshCount method 2014-10-24 15:57:47 +08:00
yangxiao f878533f85 load attached sprite from cache 2014-10-24 15:52:24 +08:00
XiaoYang 01e2d62e90 Merge pull request #149 from lvlonggame/v3
Fix bug: load sprite3D from cache, the attach node will be discarded.
2014-10-24 15:43:37 +08:00
yangxiao 7cf5b50790 add getMeshCount method 2014-10-24 15:24:36 +08:00
lvlong 799f375802 Fix bug: load sprite3D from cache, the attach node will be discarded. 2014-10-24 12:02:55 +08:00
yangxiao 1a5ab908fd Merge branch 'newcode' into v3 2014-10-21 19:31:15 +08:00
yangxiao 9be19cf5ac remove nodetoparent 2014-10-21 19:29:56 +08:00
lvlong 63a47534ab fix 0.2 version load bug. 2014-10-21 18:44:10 +08:00
lvlong 622df56614 fix OBB intersects bug 2014-10-21 17:22:42 +08:00
lvlong 8664111e4a modify camera attach bug! 2014-10-21 17:19:50 +08:00
minggo 60ecec2ff6 Merge pull request #8881 from super626/v3
Fix Bugs
2014-10-21 13:55:48 +08:00
yangxiao 25409b441a adjust code 2014-10-21 11:59:03 +08:00
XiaoYang 9a7ecbf22b Merge pull request #146 from tangziwen/v3
fix some bugs when loading Animation3D from binary file
2014-10-21 11:47:45 +08:00
tangziwen 61a6fda1c0 fix some bugs when loading Animation3D from binary file 2014-10-21 11:43:28 +08:00
XiaoYang bf931d5883 Merge pull request #145 from tangziwen/v3
fix animation3D ID bug
2014-10-21 10:04:46 +08:00
yangxiao 1a72d89194 fix AABB computation 2014-10-20 22:53:24 +08:00
tangziwen 8f7d202816 fix animation3D ID bug 2014-10-20 19:22:00 +08:00
Dhilan007 a5f838496c Move `CCCamera.cpp/h` `CCLight.cpp/h` into 2d 2014-10-20 16:25:24 +08:00
minggo 18ca7c936c Merge pull request #8768 from Dhilan007/v3-33rc
Improve Android.mk
2014-10-17 14:09:49 +08:00
minggo 91ef975c57 Merge pull request #8667 from super626/v3
Modify return type of Mesh::getAABB,  add Animate3D::create from start frame and end frame
2014-10-17 13:40:53 +08:00
yangxiao 9e1656e5b0 simplify compute global z when it is transparent 2014-10-17 11:52:39 +08:00
yangxiao 87850d0378 rename Animate::createWithFrames 2014-10-17 11:16:07 +08:00
XiaoYang ed5f5d7229 Merge pull request #143 from tangziwen/v3
fix Zorder for transparent mesh
2014-10-17 11:14:01 +08:00
tangziwen d14b30ecac fix tab style 2014-10-17 10:59:53 +08:00
Dhilan007 ccbc668427 Improve Android.mk 2014-10-17 10:13:33 +08:00
tangziwen 69cda9ccae fix duplicate function in create dummy texture 2014-10-17 08:58:05 +08:00
minggo fef079aee6 Merge pull request #8682 from super626/fixbillboard
Fixbillboard
2014-10-16 12:04:50 +08:00
tangziwen f7888d9798 tab style fix 2014-10-15 17:01:56 +08:00
tangziwen 6ed31fa47e fix some dummy texture bugs , supply some comments 2014-10-15 16:25:14 +08:00
tangziwen cd1d2289a6 bug fix 2014-10-15 11:36:44 +08:00
tangziwen 29b255fa36 use a pure red dummy texture to indicate Sprite3d texture missing 2014-10-15 10:39:18 +08:00
tangziwen 473c9e90b2 fix Zorder for transparent mesh 2014-10-14 16:59:41 +08:00
songchengjiang 081196c933 fixed BillBoard
Added New Test case
2014-10-14 15:08:36 +08:00
yangxiao 530bc96dd5 add comment 2014-10-14 10:50:54 +08:00
yangxiao 70f4ca2a4a Merge branch 'newcode' into v3 2014-10-14 09:28:17 +08:00
XiaoYang c171a8772d Merge pull request #140 from tangziwen/v3
fix mesh AABB incorrect calculation through using static variable
2014-10-14 09:23:13 +08:00
tangziwen 7566880d46 fix mesh's AABB calculation incorrect by using static variable 2014-10-14 09:14:46 +08:00
songchengjiang ecd63db80b Fixing bug 2014-10-13 19:10:42 +08:00
tangziwen e8007b9e63 fix mesh AABB incorrect calculation through using static variable 2014-10-13 17:49:00 +08:00
yangxiao d81e4d7a92 fix light uniform array errors, and using shader without light by default fix #8612 2014-10-13 15:17:22 +08:00
XiaoYang 72e6204426 Merge pull request #138 from lvlonggame/v3
add create Animate3D interface by frame section
2014-10-11 17:36:37 +08:00
lvlong 6be64fedd7 modify Animate3D::create 2014-10-11 17:02:42 +08:00
lvlong 4bba69d578 add a param comment 2014-10-10 17:48:54 +08:00