Skip to content

Camera and matrix transforms don't seem to mix intuitively #26

@dhiahassen

Description

@dhiahassen

i want to get the current projection matrix and store it to a variable so that later i can reuse it ,
i can try this :

float * matrix;
GPU_PushMatrix();
matrix = GPU_GetProjection();
...
//here i want to set the projection matrix to "matrix"

how to do that ?
i mean i looking for an equivalent to "glLoadMatrixf(matrix);"

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