bevyengine / bevyengine/bevy

Would a `Val::PhysicalPx` be useful?

Open
#8,135 2 comments 0 reactions 0 assignees View on GitHub
A-UI C-Feature
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

`Val::Px` represents a length in logical pixels.
`Val::PhysicalPx` (or whatever name it was given) would represent a length in physical pixels.
It would be easy to implement, but I'm not sure how useful it would be.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing how Val::Px is used and how logical and physical pixels are handled, then determine whether a separate Val::PhysicalPx is useful and what API behavior it should have. Done means reaching a clear decision on the feature's usefulness and scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.