AzurIce / AzurIce/ranim

Presicion problem

Open
#51 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
647
Forks
37
Avg merge
6h 12m
Merged PRs (30d)
17

Description

f32 is not enough for some calculations.

For example, this causes #38 (The precision problem on CPU part), and blocks #48, #49 (This is the precision problem on GPU part).

Currently using the solution of replacing all f32 to f64, except Width and Color.

Is there a better way of doing this?

Some ref:

https://crates.io/crates/fixed

https://godotengine.org/article/emulating-double-precision-gpu-render-large-worlds/

See also the discussions in bevy's 1680 issue

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.