Skip to content

Translation offsets in 2D mode and 3D mode are completely different #85

Description

@Nomagno

It seems the px and py offsets on the update command of the graphics protocol are in normalized device coordinates format in 3D mode (offset of 1.0 = a whole screen), while in some other scale in 2D mode (offset of 1.0 = barely noticeable).

It may very well be that I'm doing something wrong, test code for the demo video here with the single header wrapper for the Ratty Graphics Protocol here.

In the attached video, the flower almost isn't moving in 2D mode because I am targetting the 3D mode scale.

ratty.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions