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