Skip to content

Commit

Permalink
fix: add RaycastHit
Browse files Browse the repository at this point in the history
fixes #337
  • Loading branch information
SgLy committed Nov 13, 2024
1 parent 4e9e50d commit cfd31b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2024-11-13 v4.0.2
- 补齐 `RaycastHit` ([#337](https://github.com/wechat-miniprogram/api-typings/issues/337))

## 2024-09-24 v4.0.1
- 更新 API 定义到 3.5.7

Expand Down
6 changes: 1 addition & 5 deletions types/wx/lib.wx.xr-frame.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,6 @@ declare module 'XrFrame' {
registerUniformDesc: typeof xrFrameSystem.registerUniformDesc
registerVertexDataDesc: typeof xrFrameSystem.registerVertexDataDesc
registerVertexLayout: typeof xrFrameSystem.registerVertexLayout
// EDracoDataType: typeof xrFrameSystem.// EDracoDataType;
// EDracoDecodeType: typeof xrFrameSystem.// EDracoDecodeType;
// EDracoErrorCode: typeof xrFrameSystem.// EDracoErrorCode;
// EDracoGeometryType: typeof xrFrameSystem.// EDracoGeometryType;
// DracoDecoded: typeof xrFrameSystem.// DracoDecoded;
registerAssetLoader: typeof xrFrameSystem.registerAssetLoader
Component: typeof xrFrameSystem.Component
Element: typeof xrFrameSystem.Element
Expand All @@ -296,6 +291,7 @@ declare module 'XrFrame' {
BoundBall: typeof xrFrameSystem.BoundBall
BoundBox: typeof xrFrameSystem.BoundBox
Spherical: typeof xrFrameSystem.Spherical
RaycastHit: typeof xrFrameSystem.RaycastHit
Transform: typeof xrFrameSystem.Transform
AssetLoad: typeof xrFrameSystem.AssetLoad
Assets: typeof xrFrameSystem.Assets
Expand Down

0 comments on commit cfd31b5

Please sign in to comment.