dimforge / dimforge/nalgebra

Document that Matrix4::look_at_rh and Matrix4::look_at_lh can output NaN values

Open
#504 3 comments 0 reactions 0 assignees View on GitHub
documentation enhancement good first issue P-medium
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

If your looking vector is too close to being parallel to the axis you are passing to `Matrix4::look_at_rh`, the return value can contain NaN values. This apparently seems to be expected behaviour. However it's a bit surprising if you don't know about this. It should be documented IMO.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.