fix warning
This commit is contained in:
parent
094758e55a
commit
0943784c22
@ -494,16 +494,16 @@ Camera::~Camera()
|
|||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
void Camera::SetParameters(const vtkm::rendering::Camera& camera,
|
void Camera::SetParameters(const vtkm::rendering::Camera& camera,
|
||||||
const vtkm::Int32 width,
|
const vtkm::Id width,
|
||||||
const vtkm::Int32 height)
|
const vtkm::Id height)
|
||||||
{
|
{
|
||||||
this->SetUp(camera.GetViewUp());
|
this->SetUp(camera.GetViewUp());
|
||||||
this->SetLookAt(camera.GetLookAt());
|
this->SetLookAt(camera.GetLookAt());
|
||||||
this->SetPosition(camera.GetPosition());
|
this->SetPosition(camera.GetPosition());
|
||||||
this->SetZoom(camera.GetZoom());
|
this->SetZoom(camera.GetZoom());
|
||||||
this->SetFieldOfView(camera.GetFieldOfView());
|
this->SetFieldOfView(camera.GetFieldOfView());
|
||||||
this->SetHeight(height);
|
this->SetHeight(vtkm::Int32(height));
|
||||||
this->SetWidth(width);
|
this->SetWidth(vtkm::Int32(width));
|
||||||
this->CameraView = camera;
|
this->CameraView = camera;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,8 +60,8 @@ public:
|
|||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
void SetParameters(const vtkm::rendering::Camera& camera,
|
void SetParameters(const vtkm::rendering::Camera& camera,
|
||||||
const vtkm::Int32 width,
|
const vtkm::Id width,
|
||||||
const vtkm::Int32 height);
|
const vtkm::Id height);
|
||||||
|
|
||||||
|
|
||||||
VTKM_CONT
|
VTKM_CONT
|
||||||
|
Loading…
Reference in New Issue
Block a user