fix warning

This commit is contained in:
Matt Larsen 2020-02-17 19:53:54 -08:00
parent 094758e55a
commit 0943784c22
2 changed files with 6 additions and 6 deletions

@ -494,16 +494,16 @@ Camera::~Camera()
VTKM_CONT
void Camera::SetParameters(const vtkm::rendering::Camera& camera,
const vtkm::Int32 width,
const vtkm::Int32 height)
const vtkm::Id width,
const vtkm::Id height)
{
this->SetUp(camera.GetViewUp());
this->SetLookAt(camera.GetLookAt());
this->SetPosition(camera.GetPosition());
this->SetZoom(camera.GetZoom());
this->SetFieldOfView(camera.GetFieldOfView());
this->SetHeight(height);
this->SetWidth(width);
this->SetHeight(vtkm::Int32(height));
this->SetWidth(vtkm::Int32(width));
this->CameraView = camera;
}

@ -60,8 +60,8 @@ public:
VTKM_CONT
void SetParameters(const vtkm::rendering::Camera& camera,
const vtkm::Int32 width,
const vtkm::Int32 height);
const vtkm::Id width,
const vtkm::Id height);
VTKM_CONT