コード例 #1
0
ファイル: external_engine.c プロジェクト: bitfusionio/blender
float RE_engine_get_camera_shift_x(RenderEngine *engine, Object *camera)
{
	Render *re = engine->re;
	return BKE_camera_multiview_shift_x(re ? &re->r : NULL, camera, re->viewname);
}
コード例 #2
0
void BKE_camera_multiview_params(RenderData *rd, CameraParams *params, Object *camera, const char *viewname)
{
	if (camera->type == OB_CAMERA) {
		params->shiftx = BKE_camera_multiview_shift_x(rd, camera, viewname);
	}
}