Module bevy_trackball::prelude

source ·
Expand description

Prelude to get started quickly.

Re-exports§

Macros§

  • Approximate equality of using the absolute difference.
  • Approximate inequality of using the absolute difference.
  • An assertion that delegates to abs_diff_eq!, and panics with a helpful error on failure.
  • An assertion that delegates to abs_diff_ne!, and panics with a helpful error on failure.
  • An assertion that delegates to relative_eq!, and panics with a helpful error on failure.
  • An assertion that delegates to relative_ne!, and panics with a helpful error on failure.
  • An assertion that delegates to ulps_eq!, and panics with a helpful error on failure.
  • An assertion that delegates to ulps_ne!, and panics with a helpful error on failure.
  • Approximate equality using both the absolute difference and relative based comparisons.
  • Approximate inequality using both the absolute difference and relative based comparisons.
  • Approximate equality using both the absolute difference and ULPs (Units in Last Place).
  • Approximate inequality using both the absolute difference and ULPs (Units in Last Place).

Structs§

  • Orthogonal boundary conditions implementing Clamp.
  • Frame wrt camera eye and target.
  • Plane encoding position with singed bias along unit normal.
  • Scope defining enclosing viewing frustum.
  • A wrapper that ensures the underlying algebraic entity has a unit norm.

Enums§

  • Delta transform from initial to final Frame.
  • Fixed quantity wrt field of view.

Traits§

  • Equality that is defined using the absolute difference of two numbers.
  • Clamp wrt abstract boundary conditions of Frame and Scope.
  • Equality comparisons between two numbers using both the absolute difference and relative based comparisons.
  • Equality comparisons between two numbers using both the absolute difference and ULPs (Units in Last Place) based comparisons.

Type Aliases§

  • A 3-dimensional direct isometry using a unit quaternion for its rotational part.
  • A statically sized 3-dimensional column point.
  • A unit quaternions. May be used to represent a rotation.
  • A stack-allocated, 3-dimensional column vector.