Skip to content

Commit

Permalink
Merge pull request assimp#386 from jdduke/rebase_fbx_fov
Browse files Browse the repository at this point in the history
Rebase FBX regression db entries
  • Loading branch information
acgessler committed Sep 16, 2014
2 parents aac40dd + 046b7e5 commit 6a8f69a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/FBXConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,6 @@ class Converter
out_camera->mAspect = cam.AspectWidth() / cam.AspectHeight();
out_camera->mPosition = cam.Position();
out_camera->mLookAt = cam.InterestPosition() - out_camera->mPosition;

// BUG HERE cam.FieldOfView() returns 1.0f every time. 1.0f is default value.
out_camera->mHorizontalFOV = AI_DEG_TO_RAD(cam.FieldOfView());
}

Expand Down
Binary file modified test/regression/db.zip
Binary file not shown.

0 comments on commit 6a8f69a

Please sign in to comment.