All your codebase are belong to us.
This commit is contained in:
@@ -812,7 +812,7 @@ void LLDrawable::updateDistance(LLCamera& camera, bool force_update)
|
||||
}
|
||||
|
||||
pos -= camera.getOrigin();
|
||||
mDistanceWRTCamera = llround(pos.magVec(), 0.01f);
|
||||
mDistanceWRTCamera = llmath::llround(pos.magVec(), 0.01f);
|
||||
mVObjp->updateLOD();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user