Byte Engine Docs
View on docs.rs

constants

Generated Rust API reference for byte_engine.

byte_engine / constants


Module constants

Common directions in the engine's default coordinate system.

Quick Reference

ItemKindDescription
rightfnReturns the direction that points right along the positive x-axis.
upfnReturns the direction that points up along the positive y-axis.
forwardfnReturns the direction that points forward along the positive z-axis.

Functions

fn right() -> math::UnitVector

Defined in crates/byte-engine/src/constants.rs:6-8

Returns the direction that points right along the positive x-axis.

up

fn up() -> math::UnitVector

Defined in crates/byte-engine/src/constants.rs:11-13

Returns the direction that points up along the positive y-axis.

forward

fn forward() -> math::UnitVector

Defined in crates/byte-engine/src/constants.rs:16-18

Returns the direction that points forward along the positive z-axis.

On this page