Expand description
§bevy_kana
Ergonomic, opinionated utilities for Bevy — type-safe math, input wiring, and more.
bevy_kana is a growing collection of ergonomic utilities for Bevy projects.
Enable features to pull in what you need.
§Features
math(default) — zero-cost newtype wrappers around Bevy math primitives that prevent accidental mixing at compile time.input(default) — macros and utilities for wiring keyboard actions to commands throughbevy_enhanced_input.
Disable defaults to pick only what you need:
bevy_kana = { version = "0.0.1", default-features = false, features = ["math"] }Modules§
- prelude
- Convenience re-exports for glob imports.
Structs§
- Displacement
- A delta or offset in 3D space.
- Orientation
- A rotation in 3D space.
- Position
- A point in 3D space.
- Screen
Position - Pixel-space coordinates on screen.
- Velocity
- Rate of position change in 3D space.