Searched refs:latDiffRad (Results 1 – 1 of 1) sorted by relevance
233 double latDiffRad = Math.toRadians(gdLatitudeDeg) - mGcLatitudeRad; in GeomagneticField() local234 mX = (float) (gcX * Math.cos(latDiffRad) in GeomagneticField()235 + gcZ * Math.sin(latDiffRad)); in GeomagneticField()237 mZ = (float) (- gcX * Math.sin(latDiffRad) in GeomagneticField()238 + gcZ * Math.cos(latDiffRad)); in GeomagneticField()