1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Fix V3d_View::Gravity().

This commit is contained in:
isk
2015-11-03 07:45:08 +03:00
parent f3268bac61
commit a30aa7b60f

View File

@@ -2163,9 +2163,9 @@ void V3d_View::Gravity (Standard_Real& theX,
Standard_Real& theY,
Standard_Real& theZ) const
{
theX = myCamera->Center().X();
theY = myCamera->Center().Y();
theZ = myCamera->Center().Z();
theX = Camera()->Center().X();
theY = Camera()->Center().Y();
theZ = Camera()->Center().Z();
}
//=======================================================================