void WorldPinsScaleController::GetScreenLocation(const WorldPinItemModel& worldPinItemModel, Eegeo::v2& screenLocation, const Eegeo::Camera::RenderCamera& renderCamera) const { Eegeo::dv3 ecefLocation; m_worldPinsService.GetPinEcefAndScreenLocations(worldPinItemModel, ecefLocation, screenLocation); Eegeo::v3 cameraLocal = (ecefLocation - renderCamera.GetEcefLocation()).ToSingle(); Eegeo::v3 screenPos; renderCamera.Project(cameraLocal, screenPos); screenLocation.Set(screenPos.GetX(), screenPos.GetY()); }