Skip to content

Commit

Permalink
build: the v0.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
2214962083 committed Oct 2, 2022
1 parent 3e74a25 commit 0a57b36
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 43 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nicepkg/vr360",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"packageManager": "pnpm@7.0.0",
"author": "yangjinming",
Expand Down
24 changes: 13 additions & 11 deletions packages/doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# 0.1.0 (2022-10-02)
# 0.2.0 (2022-10-02)

# 0.2.0 (2022-10-02)

### Bug Fixes

- 修复 vr360-core tips 在滑动时的 bug ([e179ebc](https://github.com/2214962083/vr-360/commit/e179ebc2697314bc455320eecf8beb6182a53ded))
- 修复 vr360-core tips 在滑动时的 bug ([e179ebc](https://github.com/nicepkg/vr360/commit/e179ebc2697314bc455320eecf8beb6182a53ded))

### Features

- 暴露更多的事件,设置默认自动旋转 ([4e21c53](https://github.com/2214962083/vr-360/commit/4e21c53ac945532020a7fbbfa46644294c33b49d))
- 初始化项目 ([06f39d1](https://github.com/2214962083/vr-360/commit/06f39d141004a1d0b1a125ad598298baf15ffee8))
- 添加标签提示和空间切换功能 ([6aa67d3](https://github.com/2214962083/vr-360/commit/6aa67d39113b06d05036ecc1d66ab1d70a2f4cf5))
- 添加如视 vr 导入支持 ([5a9eb5d](https://github.com/2214962083/vr-360/commit/5a9eb5d7a33d092be8cea5565490f268376d2f79))
- 文档添加示例插件、core 的纹理 top、bottom 改为 up 和 down ([70ccb2c](https://github.com/2214962083/vr-360/commit/70ccb2c40a06079ffb3cf50b27f986ab19b1f7db))
- 修改 package.json 说明 ([e5e4ad0](https://github.com/2214962083/vr-360/commit/e5e4ad04b1c7a9cddff3af6f73d438fd1de85b25))
- 优化代码 ([4519c4a](https://github.com/2214962083/vr-360/commit/4519c4a0fb230bb62bed49f97e0824c8977be3ca))
- 优化 sdk,添加纹理缓存预加载 ([9dd57e7](https://github.com/2214962083/vr-360/commit/9dd57e71b8f5a38ecc9901395a9b189481172edb))
- 重写核心,添加最小化更新配置支持 ([289091b](https://github.com/2214962083/vr-360/commit/289091b13dfe0495b44ae9e5353b78d2712e9762))
- 暴露更多的事件,设置默认自动旋转 ([4e21c53](https://github.com/nicepkg/vr360/commit/4e21c53ac945532020a7fbbfa46644294c33b49d))
- 初始化项目 ([06f39d1](https://github.com/nicepkg/vr360/commit/06f39d141004a1d0b1a125ad598298baf15ffee8))
- 添加标签提示和空间切换功能 ([6aa67d3](https://github.com/nicepkg/vr360/commit/6aa67d39113b06d05036ecc1d66ab1d70a2f4cf5))
- 添加如视 vr 导入支持 ([5a9eb5d](https://github.com/nicepkg/vr360/commit/5a9eb5d7a33d092be8cea5565490f268376d2f79))
- 文档添加示例插件、core 的纹理 top、bottom 改为 up 和 down ([70ccb2c](https://github.com/nicepkg/vr360/commit/70ccb2c40a06079ffb3cf50b27f986ab19b1f7db))
- 修改 package.json 说明 ([e5e4ad0](https://github.com/nicepkg/vr360/commit/e5e4ad04b1c7a9cddff3af6f73d438fd1de85b25))
- 优化代码 ([4519c4a](https://github.com/nicepkg/vr360/commit/4519c4a0fb230bb62bed49f97e0824c8977be3ca))
- 优化 sdk,添加纹理缓存预加载 ([9dd57e7](https://github.com/nicepkg/vr360/commit/9dd57e71b8f5a38ecc9901395a9b189481172edb))
- 重写核心,添加最小化更新配置支持 ([289091b](https://github.com/nicepkg/vr360/commit/289091b13dfe0495b44ae9e5353b78d2712e9762))
2 changes: 1 addition & 1 deletion packages/doc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doc",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"description": "the libs docs website",
"scripts": {
Expand Down
24 changes: 13 additions & 11 deletions packages/vr360-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# 0.1.0 (2022-10-02)
# 0.2.0 (2022-10-02)

# 0.2.0 (2022-10-02)

### Bug Fixes

- 修复 vr360-core tips 在滑动时的 bug ([e179ebc](https://github.com/2214962083/vr-360/commit/e179ebc2697314bc455320eecf8beb6182a53ded))
- 修复 vr360-core tips 在滑动时的 bug ([e179ebc](https://github.com/nicepkg/vr360/commit/e179ebc2697314bc455320eecf8beb6182a53ded))

### Features

- 暴露更多的事件,设置默认自动旋转 ([4e21c53](https://github.com/2214962083/vr-360/commit/4e21c53ac945532020a7fbbfa46644294c33b49d))
- 初始化项目 ([06f39d1](https://github.com/2214962083/vr-360/commit/06f39d141004a1d0b1a125ad598298baf15ffee8))
- 添加标签提示和空间切换功能 ([6aa67d3](https://github.com/2214962083/vr-360/commit/6aa67d39113b06d05036ecc1d66ab1d70a2f4cf5))
- 添加如视 vr 导入支持 ([5a9eb5d](https://github.com/2214962083/vr-360/commit/5a9eb5d7a33d092be8cea5565490f268376d2f79))
- 文档添加示例插件、core 的纹理 top、bottom 改为 up 和 down ([70ccb2c](https://github.com/2214962083/vr-360/commit/70ccb2c40a06079ffb3cf50b27f986ab19b1f7db))
- 修改 package.json 说明 ([e5e4ad0](https://github.com/2214962083/vr-360/commit/e5e4ad04b1c7a9cddff3af6f73d438fd1de85b25))
- 优化代码 ([4519c4a](https://github.com/2214962083/vr-360/commit/4519c4a0fb230bb62bed49f97e0824c8977be3ca))
- 优化 sdk,添加纹理缓存预加载 ([9dd57e7](https://github.com/2214962083/vr-360/commit/9dd57e71b8f5a38ecc9901395a9b189481172edb))
- 重写核心,添加最小化更新配置支持 ([289091b](https://github.com/2214962083/vr-360/commit/289091b13dfe0495b44ae9e5353b78d2712e9762))
- 暴露更多的事件,设置默认自动旋转 ([4e21c53](https://github.com/nicepkg/vr360/commit/4e21c53ac945532020a7fbbfa46644294c33b49d))
- 初始化项目 ([06f39d1](https://github.com/nicepkg/vr360/commit/06f39d141004a1d0b1a125ad598298baf15ffee8))
- 添加标签提示和空间切换功能 ([6aa67d3](https://github.com/nicepkg/vr360/commit/6aa67d39113b06d05036ecc1d66ab1d70a2f4cf5))
- 添加如视 vr 导入支持 ([5a9eb5d](https://github.com/nicepkg/vr360/commit/5a9eb5d7a33d092be8cea5565490f268376d2f79))
- 文档添加示例插件、core 的纹理 top、bottom 改为 up 和 down ([70ccb2c](https://github.com/nicepkg/vr360/commit/70ccb2c40a06079ffb3cf50b27f986ab19b1f7db))
- 修改 package.json 说明 ([e5e4ad0](https://github.com/nicepkg/vr360/commit/e5e4ad04b1c7a9cddff3af6f73d438fd1de85b25))
- 优化代码 ([4519c4a](https://github.com/nicepkg/vr360/commit/4519c4a0fb230bb62bed49f97e0824c8977be3ca))
- 优化 sdk,添加纹理缓存预加载 ([9dd57e7](https://github.com/nicepkg/vr360/commit/9dd57e71b8f5a38ecc9901395a9b189481172edb))
- 重写核心,添加最小化更新配置支持 ([289091b](https://github.com/nicepkg/vr360/commit/289091b13dfe0495b44ae9e5353b78d2712e9762))
2 changes: 1 addition & 1 deletion packages/vr360-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nicepkg/vr360-core",
"version": "0.2.0",
"version": "0.2.1",
"description": "快速实现你的全景开发需求,全景看房、全景街景、全景景点",
"keywords": [
"vr360",
Expand Down
6 changes: 3 additions & 3 deletions packages/vr360-core/src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ export function addListenerToThreeObject(
// 射线范围内没有东西,终止流程
if (intersects.length <= 0) return

if (eventName === 'click') {
console.log(`当前点击位置: x=${firstIntersect.point.x}, y=${firstIntersect.point.y}, z=${firstIntersect.point.z}`)
}
// if (eventName === 'click') {
// console.log(`当前点击位置: x=${firstIntersect.point.x}, y=${firstIntersect.point.y}, z=${firstIntersect.point.z}`)
// }

firstIntersect.object.dispatchEvent({
type: eventName,
Expand Down
6 changes: 3 additions & 3 deletions packages/vr360-core/src/manager/tip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class TipManager extends EventEmitter<TipManagerEvents> implements Config
const top = (1 - percentPosition.y) * containerHalfHeight - tipContainerHeight / 2 + rendererOffsetTop

const showTipEvent: ShowTipEvent = {tip: tipFromUserData, left, top}
console.log('展示提示', showTipEvent)
// console.log('展示提示', showTipEvent)
this.emit('showTip', showTipEvent)
}

Expand Down Expand Up @@ -213,7 +213,7 @@ export class TipManager extends EventEmitter<TipManagerEvents> implements Config
const tipFromUserData = intersect.object.userData.tip as Tip

const hideTipEvent: HideTipEvent = {tip: tipFromUserData}
console.log('隐藏提示', hideTipEvent)
// console.log('隐藏提示', hideTipEvent)
this.emit('hideTip', hideTipEvent)
})

Expand All @@ -235,7 +235,7 @@ export class TipManager extends EventEmitter<TipManagerEvents> implements Config
clickPosition: intersect.point
}

console.log('调转到空间', switchSpaceEvent)
// console.log('调转到空间', switchSpaceEvent)
this.emit('switchSpace', switchSpaceEvent)
}
})
Expand Down
24 changes: 13 additions & 11 deletions packages/vr360-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# 0.1.0 (2022-10-02)
# 0.2.0 (2022-10-02)

# 0.2.0 (2022-10-02)

### Bug Fixes

- 修复 vr360-core tips 在滑动时的 bug ([e179ebc](https://github.com/2214962083/vr-360/commit/e179ebc2697314bc455320eecf8beb6182a53ded))
- 修复 vr360-core tips 在滑动时的 bug ([e179ebc](https://github.com/nicepkg/vr360/commit/e179ebc2697314bc455320eecf8beb6182a53ded))

### Features

- 暴露更多的事件,设置默认自动旋转 ([4e21c53](https://github.com/2214962083/vr-360/commit/4e21c53ac945532020a7fbbfa46644294c33b49d))
- 初始化项目 ([06f39d1](https://github.com/2214962083/vr-360/commit/06f39d141004a1d0b1a125ad598298baf15ffee8))
- 添加标签提示和空间切换功能 ([6aa67d3](https://github.com/2214962083/vr-360/commit/6aa67d39113b06d05036ecc1d66ab1d70a2f4cf5))
- 添加如视 vr 导入支持 ([5a9eb5d](https://github.com/2214962083/vr-360/commit/5a9eb5d7a33d092be8cea5565490f268376d2f79))
- 文档添加示例插件、core 的纹理 top、bottom 改为 up 和 down ([70ccb2c](https://github.com/2214962083/vr-360/commit/70ccb2c40a06079ffb3cf50b27f986ab19b1f7db))
- 修改 package.json 说明 ([e5e4ad0](https://github.com/2214962083/vr-360/commit/e5e4ad04b1c7a9cddff3af6f73d438fd1de85b25))
- 优化代码 ([4519c4a](https://github.com/2214962083/vr-360/commit/4519c4a0fb230bb62bed49f97e0824c8977be3ca))
- 优化 sdk,添加纹理缓存预加载 ([9dd57e7](https://github.com/2214962083/vr-360/commit/9dd57e71b8f5a38ecc9901395a9b189481172edb))
- 重写核心,添加最小化更新配置支持 ([289091b](https://github.com/2214962083/vr-360/commit/289091b13dfe0495b44ae9e5353b78d2712e9762))
- 暴露更多的事件,设置默认自动旋转 ([4e21c53](https://github.com/nicepkg/vr360/commit/4e21c53ac945532020a7fbbfa46644294c33b49d))
- 初始化项目 ([06f39d1](https://github.com/nicepkg/vr360/commit/06f39d141004a1d0b1a125ad598298baf15ffee8))
- 添加标签提示和空间切换功能 ([6aa67d3](https://github.com/nicepkg/vr360/commit/6aa67d39113b06d05036ecc1d66ab1d70a2f4cf5))
- 添加如视 vr 导入支持 ([5a9eb5d](https://github.com/nicepkg/vr360/commit/5a9eb5d7a33d092be8cea5565490f268376d2f79))
- 文档添加示例插件、core 的纹理 top、bottom 改为 up 和 down ([70ccb2c](https://github.com/nicepkg/vr360/commit/70ccb2c40a06079ffb3cf50b27f986ab19b1f7db))
- 修改 package.json 说明 ([e5e4ad0](https://github.com/nicepkg/vr360/commit/e5e4ad04b1c7a9cddff3af6f73d438fd1de85b25))
- 优化代码 ([4519c4a](https://github.com/nicepkg/vr360/commit/4519c4a0fb230bb62bed49f97e0824c8977be3ca))
- 优化 sdk,添加纹理缓存预加载 ([9dd57e7](https://github.com/nicepkg/vr360/commit/9dd57e71b8f5a38ecc9901395a9b189481172edb))
- 重写核心,添加最小化更新配置支持 ([289091b](https://github.com/nicepkg/vr360/commit/289091b13dfe0495b44ae9e5353b78d2712e9762))
2 changes: 1 addition & 1 deletion packages/vr360-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nicepkg/vr360-shared",
"version": "0.2.0",
"version": "0.2.1",
"description": "A shared package of internal utility functions, including build and test functions.",
"keywords": [
"vr360-shared",
Expand Down

1 comment on commit 0a57b36

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for vr-360 ready!

✅ Preview
https://vr-360-dnise9hns-2214962083.vercel.app

Built with commit 0a57b36.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.