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

Miscellanous type-based improvements #353

Merged
merged 8 commits into from
Dec 22, 2024

Conversation

KSSBrawl
Copy link
Contributor

@KSSBrawl KSSBrawl commented Dec 6, 2024

Most of the improvements in this PR come from the replacement of the invertf() function with what it actually was, D3DXVECTOR3::operator/ which calculates the reciprocal of the divisor and multiplies the vector by that. Additionally, it would appear that the cause of the mismatch in Player::Player was because of PlayerRect not actually using D3DXVECTOR2, hence the erroneous presence of its constructor.

  • Match Player::Player
  • Match EnemyEclInstr::ExInsStage6XFunc6
  • Match Player::CalcLaserHitbox
  • Match Player::ScoreGraze

@KSSBrawl KSSBrawl closed this Dec 6, 2024
@KSSBrawl
Copy link
Contributor Author

KSSBrawl commented Dec 6, 2024

Hold on, I'm actually stupid. I need to fix math errors.

@KSSBrawl KSSBrawl reopened this Dec 6, 2024
@KSSBrawl KSSBrawl closed this Dec 6, 2024
@KSSBrawl
Copy link
Contributor Author

KSSBrawl commented Dec 6, 2024

Okay. Terribly sorry, this is what I get for doing this at 2:30 AM.

@KSSBrawl KSSBrawl reopened this Dec 6, 2024
@roblabla roblabla merged commit e13f040 into happyhavoc:master Dec 22, 2024
6 checks passed
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.

2 participants