mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +00:00
Fix starting distance not being correctly set.
This commit is contained in:
parent
08d055ca23
commit
09bce73c33
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ namespace CSVRender
|
||||||
if (intersector->getIntersections().begin() != intersector->getIntersections().end())
|
if (intersector->getIntersections().begin() != intersector->getIntersections().end())
|
||||||
{
|
{
|
||||||
mCenter = intersector->getIntersections().begin()->getWorldIntersectPoint();
|
mCenter = intersector->getIntersections().begin()->getWorldIntersectPoint();
|
||||||
mDistance = (eye - center).length();
|
mDistance = (eye - mCenter).length();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue