Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove redundant right shift for bitwise operation #3754

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

jareguo
Copy link
Contributor

@jareguo jareguo commented Jan 15, 2019

Changes:

  • 移除多余的 >>> 0(转成正整数只需要发生在位运算的最后一步)

@pandamicro pandamicro merged commit e465f7e into cocos:v2.0-release Jan 15, 2019
knoxHuang added a commit to knoxHuang/engine-2 that referenced this pull request Jan 21, 2019
* 'master' of github.com:cocos-creator/engine: (24 commits)
  fixed ttf label opacity (cocos#3770)
  Fix the label to execute onDestroy error without executing onEnable. (cocos#3769)
  fixed shadow cast (cocos#3766)
  Fixed RichText alignment display bug (cocos#3758)
  fixed run simulator (cocos#3765)
  fix particle bug with action (cocos#3760)
  fix native spine and db bug (cocos#3762)
  Dragonbones adapt to v211
  spine adapt to v211
  fixed merge issues (cocos#3759)
  fix vivo oppo platform judgement on engine (cocos#3757)
  remove redundant right shift for bitwise operation (cocos#3754)
  fix dragonBones eventManager undefined for 2d-tasks/issues/1034 (cocos#3745)
  fix spine debug draw recreate bug (cocos#3744)
  Use RenderFlow to drive scene visit process (cocos#3740)
  fix spine may not flush bug (cocos#3742)
  fix mask _hitTest invalid (cocos#3743)
  move _childArrivalOrder to Ctor (cocos#3741)
  fix when use multiple dragonbones texture,may not renderer bug (cocos#3738)
  add excludeAllDepends utils (cocos#3714)
  ...
jareguo added a commit to jareguo/engine that referenced this pull request Oct 10, 2020
pandamicro pushed a commit that referenced this pull request Oct 15, 2020
* remove asserts from addChild

* expose js._registeredClassIds & js._registeredClassNames (sync #3174)

To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421

* remove unused code (sync #3174)

* minor tweak (sync #3421)

* should not invoke component if destroy() called before node activating (sync #3430)

* node should removed and destroyed with scene (sync #3456 #3483)

* fix WebGL detection on Android browsers (sync #3510)

* remove redundant right shift for bitwise operation (sync #3754)

* fix label blur when using dark font color (sync #3949)

* refine tooltip of Block Input Event (sync #4053)

* fix IE/Edge exception when output log/warn before engine initialization(sync #4447, #4500)

* sync class, attribute (#4689, #4712, #4781, #4712)

* fix loading unknown texture format (sync #4820)

* prefer toLowerCase to toLocaleLowerCase + sync #5114

* optimize bezier calculation (sync #5155)

* fix potential memory leak in scene-editor (sync #5643)

* fix _posDirty error of Mask on native platform (sync #6168)
pandamicro added a commit that referenced this pull request Oct 22, 2020
* tweaks tooltip of isTrigger (#7485)

* UI material stencil state change bug fix (#7497)

* auto-shadow-info (#7404)

* auto-shadow-info

* add bais control

* update control name

* merge cc_shadowPCF(Vec2) && cc_shadowSize(Vec2) to cc_shadowInfo(Vec4)

* fix terrain bound error, terrain support dynamic lighting (#7505)

* fix terrain bound error, terrain support dynamic lighting

* fix terrain fog

Co-authored-by: Myway3D1 <404793124@qq.com>

* 3d v1.2 terrain support dynamic lighting (#7510)

* fix terrain bound error, terrain support dynamic lighting

* fix terrain fog

* standard surface add lighting map info

* Revert pcf filter

Co-authored-by: Myway3D1 <404793124@qq.com>

* fix sphere.margeAABB bug (#7518)

* fix sphere.margeAABB bug && Optimize automatic shadow calculation

* Even if the obstruction is not in the field of view, the shadow is still visible

* optimization,and avoid using sphere.radius < 0

* Avoid creating aabb repeatedly

* update

* adjust the Graphics structure to support continuous data filling (#7523)

* adjust the Graphics structure to support continuous data filling (#7524)

* Revert "adjust the Graphics structure to support continuous data filling (#7523)"

This reverts commit b86f3cc.

* adjust the Graphics structure to support continuous data filling (#7359)

* add terrain shadow (#7500)

* add terrain shadow

* update

* update

* update

* delete temp source code

* Optimize the auto shadow

* shadow 和 0 号对齐

* add reciveshadow control

* cancel

* fix shadow effect display error

* update

* use 1.0, doesnt use 1 in glsl

* update effects

* change bbMin  && bbMax use Number.MAX_VALUE && Number.MIN_VALUE

* update

* update

* correct ammo kinematic object (#7534)

* remove asserts from addChild & sync 2D changes (#7479)

* remove asserts from addChild

* expose js._registeredClassIds & js._registeredClassNames (sync #3174)

To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421

* remove unused code (sync #3174)

* minor tweak (sync #3421)

* should not invoke component if destroy() called before node activating (sync #3430)

* node should removed and destroyed with scene (sync #3456 #3483)

* fix WebGL detection on Android browsers (sync #3510)

* remove redundant right shift for bitwise operation (sync #3754)

* fix label blur when using dark font color (sync #3949)

* refine tooltip of Block Input Event (sync #4053)

* fix IE/Edge exception when output log/warn before engine initialization(sync #4447, #4500)

* sync class, attribute (#4689, #4712, #4781, #4712)

* fix loading unknown texture format (sync #4820)

* prefer toLowerCase to toLocaleLowerCase + sync #5114

* optimize bezier calculation (sync #5155)

* fix potential memory leak in scene-editor (sync #5643)

* fix _posDirty error of Mask on native platform (sync #6168)

* fix terrain receive shadow (#7535)

Co-authored-by: Myway3D1 <404793124@qq.com>

* Fix terrain receive shadow and load layer texture (#7543)

* fix terrain receive shadow

* fix load layer texture

Co-authored-by: Myway3D1 <404793124@qq.com>

* ui batch marge for stencil (#7540)

* tweaks (#7544)

* fix sync instantiate-jit (#7550)

* Refine type define

* Fix TypedArray instantiation in Prefab (sync commit 0361c4e)

* resign instantiate-jit #5114

* fix shadow.far not enough (#7548)

* fix shadow.far not enough

* Add restrictions

* Remove duplicate code

* Update distance.ts (#7558)

碰撞检测有问题

* update internal db prefab meta version (#7556)

* Fix shadows merge conflicts

Co-authored-by: jiaxin.lai <goodlaijiaxin@qq.com>
Co-authored-by: ChiaNing <sun.cloud.mo@gmail.com>
Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com>
Co-authored-by: Myway <MSoft1115@hotmail.com>
Co-authored-by: Myway3D1 <404793124@qq.com>
Co-authored-by: JoneLau <32630749+JoneLau@users.noreply.github.com>
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com>
Co-authored-by: hujf <41710215+kissSimple@users.noreply.github.com>
Co-authored-by: 黄森斌 <arsen2010@126.com>
minggo pushed a commit that referenced this pull request Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants