Skip to content

Commit cfd31b5

Browse files
committed
fix: add RaycastHit
fixes #337
1 parent 4e9e50d commit cfd31b5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2024-11-13 v4.0.2
2+
- 补齐 `RaycastHit` ([#337](https://github.com/wechat-miniprogram/api-typings/issues/337))
3+
14
## 2024-09-24 v4.0.1
25
- 更新 API 定义到 3.5.7
36

types/wx/lib.wx.xr-frame.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,6 @@ declare module 'XrFrame' {
265265
registerUniformDesc: typeof xrFrameSystem.registerUniformDesc
266266
registerVertexDataDesc: typeof xrFrameSystem.registerVertexDataDesc
267267
registerVertexLayout: typeof xrFrameSystem.registerVertexLayout
268-
// EDracoDataType: typeof xrFrameSystem.// EDracoDataType;
269-
// EDracoDecodeType: typeof xrFrameSystem.// EDracoDecodeType;
270-
// EDracoErrorCode: typeof xrFrameSystem.// EDracoErrorCode;
271-
// EDracoGeometryType: typeof xrFrameSystem.// EDracoGeometryType;
272-
// DracoDecoded: typeof xrFrameSystem.// DracoDecoded;
273268
registerAssetLoader: typeof xrFrameSystem.registerAssetLoader
274269
Component: typeof xrFrameSystem.Component
275270
Element: typeof xrFrameSystem.Element
@@ -296,6 +291,7 @@ declare module 'XrFrame' {
296291
BoundBall: typeof xrFrameSystem.BoundBall
297292
BoundBox: typeof xrFrameSystem.BoundBox
298293
Spherical: typeof xrFrameSystem.Spherical
294+
RaycastHit: typeof xrFrameSystem.RaycastHit
299295
Transform: typeof xrFrameSystem.Transform
300296
AssetLoad: typeof xrFrameSystem.AssetLoad
301297
Assets: typeof xrFrameSystem.Assets

0 commit comments

Comments
 (0)