Skip to content

image is still back-to-front/mirror-inverted #1

@FUSAKLA

Description

@FUSAKLA

I played a little with the code and this works for me:

static float squareVertices[] = { -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f };
private short drawOrder[] = { 0, 3, 2, 0, 1, 2 }; // order to draw vertices
static float textureVertices[] = { 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, };

I just changed order of vertexes for stripe and texture coordinates.

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