Changeset View
Changeset View
Standalone View
Standalone View
source/blender/collada/AnimationImporter.cpp
| Context not available. | |||||
| float aspect, | float aspect, | ||||
| float sensorx) | float sensorx) | ||||
| { | { | ||||
| /* NOTE: Needs more testing (As we curretnly have no official test data for this) */ | /* NOTE: Needs more testing (As we currently have no official test data for this) */ | ||||
| float xfov = (fov_type == CAMERA_YFOV) ? | float xfov = (fov_type == CAMERA_YFOV) ? | ||||
| (2.0f * atanf(aspect * tanf(DEG2RADF(in_xfov) * 0.5f))) : | (2.0f * atanf(aspect * tanf(DEG2RADF(in_xfov) * 0.5f))) : | ||||
| DEG2RADF(in_xfov); | DEG2RADF(in_xfov); | ||||
| Context not available. | |||||