Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse-engineered TriAPI functions from hardware engine #523

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

SmileyAG
Copy link
Collaborator

@SmileyAG SmileyAG commented Apr 6, 2024

This will not give errors after #516 and #512 are merged and after that the rebase of this branch is done

Later I’ll make a test branch based on this with already hooked functions to test the wrappers in action and leave comment about it here, so don't need to merge it yet, but it's open for review

About the function that used from Mesa repository: the main modules (where the InvertMatrix was taken) are signed under the MIT License, so there should be no difficulties with this: https://docs.mesa3d.org/license.html

In GoldSrc engine, InvertMatrix called at the end of R_SetupGL function to retrieve gScreenToWorld from gWorldToScreen:

// In the end of R_SetupGL function from engine
InvertMatrix(gWorldToScreen, gScreenToWorld);

@SmileyAG SmileyAG marked this pull request as draft June 6, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant