Skip to content

Yaw exceeding limits #618

Open
Open
@Alvsch

Description

@Alvsch

Valence Version

v0.2.0-alpha.1+mc.1.20.1 (#7e91ca0f)

What You Did Do

spin around
https://drive.google.com/file/d/1FSWOni9cGB2K6jDE3VipBOpPVIQJvSt_/view?usp=sharing

What Went Wrong

The yaw in valence::entity::Look is not wrapped making it exceed the normal limits if the player spins around

What were you expecting and what actually happened?

The yaw should wrap to stay within -180 and 180

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageBug has not been confirmed as real issue yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions