mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026511: Build fails with VTK 6.3rc1
Obsolete typedef "vtkFloatingPointType" is replaced by "double" in VIS and DRAW
This commit is contained in:
@@ -151,7 +151,7 @@ bool IVtkVTK_View::DisplayToWorld (const gp_XY& theDisplayPnt, gp_XYZ& theWorldP
|
||||
myRenderer->SetDisplayPoint (theDisplayPnt.X(), theDisplayPnt.Y(), 0.0);
|
||||
myRenderer->DisplayToWorld();
|
||||
|
||||
vtkFloatingPointType* const aCoords = myRenderer->GetWorldPoint();
|
||||
double* const aCoords = myRenderer->GetWorldPoint();
|
||||
if (aCoords[3] == 0.0) // Point at infinity in homogeneous coordinates
|
||||
{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user