Skip to content

Vec2/3's angle_between function is unclear/misleading #514

@ua-kxie

Description

@ua-kxie

I ran off into a fruitless tangent just now wondering why Vec3's angle_between wouldn't give me a signed angle (was using Vec3 in a 2d context).

I think a quat_between method for Vec3 would be a good addition. It is a better analog to Vec2's angle_between than Vec3's current angle_between, which isn't the complete rotational information in 3D as it is for Vec2 in 2D.

I could probably work on a PR if the idea sounds good to the maintainers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions