-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
matrix_init_look_at: Handle corner cases better
graphene_matrix_init_look_at() currently breaks badly in the case where the given point is either the same as the eye, or in "up" direction from the eye. The exact definition of look_at() kinda breaks down in this situation, but this is the behaviour three.js uses, and its better than nothing.
- Loading branch information
1 parent
2f1b44a
commit e5f8e9c
Showing
1 changed file
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters