Skip to content

Fix lookAt functions#1

Open
portaloffreedom wants to merge 1 commit into
vadymchan:mainfrom
portaloffreedom:patch-1
Open

Fix lookAt functions#1
portaloffreedom wants to merge 1 commit into
vadymchan:mainfrom
portaloffreedom:patch-1

Conversation

@portaloffreedom

Copy link
Copy Markdown
  • to work with RowMajor (RowMajor vectors are a compilation error in Eigen)
  • lookatRh had an extra -, fixed by flipping subtraction to define the vector f

These were the fixes I needed to get it to work on my code, which uses RowMajor (because HLSL) and Right Handed Z up (because Blender).
Hopefully this is correct for all other combinations as well.

-  to work with RowMajor (RowMajor vectors are a compilation error in Eigen)
- lookatRh had an extra `-`, fixed by flipping subtraction to define the vector `f`
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.

1 participant