Module ryot_trajectories::radial_area

source ·
Expand description

This module introduces the concepts of RadialArea a primary representation of an area of interest in the game world, that can be used for determining trajectories. It’s the main way of generating the Perspective from a spectator in a given position.

Radial area tries to represent an area based on angles, like a circle or a sector, with a predefined range and center position.

Structs§

  • Defines a radial area of interest from a specific point in the game world, characterized by a range, center position, step angle, and an angle range. This struct is used to generate Perspective objects that represent the observable area from the center position.