1
vote
Extract a rotation matrix given a camera direction (vector) and a up vector for the camera?
As python code (assumes x to the right and y down in camera space):
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rotation × 1161unity × 456
c# × 234
quaternion × 199
mathematics × 143
3d × 98
2d × 97
transformation × 95
camera × 93
opengl × 91
vector × 87
matrix × 87
xna × 70
movement × 67
physics × 63
c++ × 57
java × 56
libgdx × 39
sprites × 37
animation × 28
angles × 28
rigidbody × 25
collision-detection × 22
javascript × 22
geometry × 22