constants
Generated Rust API reference for byte_engine.
Module constants
Common directions in the engine's default coordinate system.
Quick Reference
| Item | Kind | Description |
|---|---|---|
right | fn | Returns the direction that points right along the positive x-axis. |
up | fn | Returns the direction that points up along the positive y-axis. |
forward | fn | Returns the direction that points forward along the positive z-axis. |
Functions
right
fn right() -> math::UnitVectorDefined in crates/byte-engine/src/constants.rs:6-8
Returns the direction that points right along the positive x-axis.
up
fn up() -> math::UnitVectorDefined in crates/byte-engine/src/constants.rs:11-13
Returns the direction that points up along the positive y-axis.
forward
fn forward() -> math::UnitVectorDefined in crates/byte-engine/src/constants.rs:16-18
Returns the direction that points forward along the positive z-axis.