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

wrappers: 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 force-pushed the 2024_04_triapi_functions branch from 452323d to 1f98048 Compare May 10, 2024 02:09
@SmileyAG SmileyAG marked this pull request as draft June 6, 2024 08:35
@SmileyAG
Copy link
Collaborator Author

I will squash all the commits from this request to one and rebase it to the master after #530 is merged, for now, let it be untouched for a little longer.

@SmileyAG SmileyAG changed the title Reverse-engineered TriAPI functions from hardware engine wrappers: reverse-engineered TriAPI functions from hardware engine Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant