Closed yzx9 closed 2 months ago
Hi @yzx9, thanks for raising this issue! You're correct and last week we actually opened a MR internally that addresses the built-ins missing from stubs.py
. I'll comment here once it's merged!
Hi @yzx9, the commit 7847af9 has now been merged to main
and will be part of a future release. Apologies for the inconvenience caused!
Bug Description
The BVH runtime functions
bvh_query_aabb
,bvh_query_ray
, andbvh_query_next
are documented and work correctly at runtime, but they are not typed in the library.I noticed that these functions are missing from the
stub.py
file, while thevolume_xxxxx
functions are present. This suggests that something may have gone wrong during the generation ofstub.py
.Steps to Reproduce
Open a file and type the following:
You will receive an error from Pyright:
"bvh_query_aabb" is not a known attribute of module "warp" 152:16:10 Pyright reportAttributeAccessIssue
.System Information