bevyengine / bevyengine/bevy

Document `intersects_obb`

Open
#6,096 1 comment 1 reaction 0 assignees View on GitHub
A-Rendering C-Docs D-Straightforward S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## How can Bevy's documentation be improved?

[`intersects_obb`](https://docs.rs/bevy/latest/bevy/render/primitives/struct.Frustum.html#method.intersects_obb) seems like a very helpful function for implementing camera frustum based culling:

However, it is difficult to figure out how to use, due to the lack of documentation:

* where should `model_to_world` come from?

* are there any conditions on the kind of `aabb` expected (should it be in NDC, for instance?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.