Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to return the inner value for direction types #12516

Merged
merged 4 commits into from
Mar 18, 2024

Commits on Mar 16, 2024

  1. Add methods to return the inner value for direction types

    Add `vec2` method for Dir2
    Add `vec3` method for Dir3
    Add `vec3a` method for Dir3A
    Multirious committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    2e234e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    41663db View commit details
    Browse the repository at this point in the history
  2. Fix getters in direction types

    Renamed `Dir2::vec2` to `Dir2::to_vec2`
    Renamed `Dir3::vec3` to `Dir2::to_vec3`
    Renamed `Dir3A::vec3a` to `Dir2::to_vec3a`
    
    Make `Dir2::to_vec2` const
    Make `Dir2::to_vec3` const
    Make `Dir2::to_vec3a` const
    Multirious committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    fd699a3 View commit details
    Browse the repository at this point in the history
  3. Rename getters for direction types

    Rename `Dir2::to_vec2` to `Dir2::as_vec2`
    Rename `Dir3::to_vec3` to `Dir3::as_vec3`
    Rename `Dir3A::to_vec3a` to `Dir3a::as_vec3a`
    Multirious committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    dd096ec View commit details
    Browse the repository at this point in the history